그래서 얻으려고 노력 중이야칼시나이/xero-phpComposer를 사용하여 설치했지만 구체적으로 이 오류가 발생합니다.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package calcinai/xero-php No version set (parsed as 1.0.0) is satisfiable by calcinai/xero-php[No version set (parsed as 1.0.0)] but these conflict with your requirements or minimum-stability.
Installation failed, reverting ./composer.json to its original content.
"calcinai/xero-php": "1.5.*"
필수 목록에 추가하고 composer require calcinai/xero-php
터미널에 입력하여 설치를 모두 시도했습니다 .
현재 json 파일은 다음과 같습니다.
{
"name": "calcinai/xero-php",
"type": "library",
"description": "A client implementation of the Xero API, with a cleaner OAuth interface and ORM-like abstraction.",
"homepage": "https://github.com/calcinai/xero-php",
"license": "MIT",
"require": {
"php": ">=5.5.0",
"ext-curl": "*",
"ext-openssl": "*",
"calcinai/xero-php": "1.5.*"
},
"require-dev": {
"phpunit/phpunit": "~4.7",
"fabpot/goutte": "~2.0",
"twig/twig": "1.16.2"
},
"repositories": [
],
"autoload": {
"psr-4": {
"XeroPHP\\": "src/XeroPHP/"
}
}
}
어떤 도움이라도 주시면 감사하겠습니다.
답변1
"version": "1.5.0",
작곡가.json에 after를 추가하여 문제를 해결했습니다 "description"
.
답변2
필요: php: >=5.5.0, ext-curl, ext-openssl, calcinai/xero-php: ^1.8
현재 json 파일은 다음과 같습니다.
{
"name": "calcinai/xero-php",
"type": "library",
"description": "A client implementation of the Xero API, with a cleaner OAuth interface and ORM-like abstraction.",
"version": "1.8.6",
"homepage": "https://github.com/calcinai/xero-php",
"license": "MIT",
"require": {
"php": ">=5.5.0",
"ext-curl": "*",
"ext-openssl": "*",
"calcinai/xero-php": "^1.8"
},
"require-dev": {
"phpunit/phpunit": "~4.7",
"fabpot/goutte": "~2.0",
"twig/twig": "1.16.2"
},
"repositories": [
],
"autoload": {
"psr-4": {
"XeroPHP\\": "src/XeroPHP/"
}
}
}