Eu resolvi meu problema adicionando "version": "1.5.0",
após "description"
no composer.json.
Então, estou tentando instalar o calcinai / xero-php usando o Composer, mas estou recebendo este erro específico.
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.
Eu tentei instalar os dois adicionando "calcinai/xero-php": "1.5.*"
à minha lista de requisitos e inserindo composer require calcinai/xero-php
no terminal.
Aqui está o arquivo json atualmente:
{
"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/"
}
}
}
Qualquer ajuda seria apreciada.
Eu resolvi meu problema adicionando "version": "1.5.0",
após "description"
no composer.json.