florianv / swap

:currency_exchange: Currency exchange rates library

Home Page:https://florianv.github.io/swap/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't install swap

sylouuu opened this issue · comments

commented

Hi @florianv

composer require florianv/swap php-http/message php-http/guzzle6-adapter

We are unable to install your package, as a follow of florianv/laravel-swap#60

→ composer require florianv/swap php-http/message php-http/guzzle6-adapter
Using version ^3.4 for florianv/swap
Using version ^1.7 for php-http/message
Using version ^2.0 for php-http/guzzle6-adapter
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install php-http/guzzle6-adapter v2.0.0
    - don't install php-http/guzzle6-adapter 2.x-dev|install php-http/guzzle6-adapter dev-master
    - Conclusion: remove php-http/httplug v1.1.0
    - Installation request for php-http/guzzle6-adapter ^2.0 -> satisfiable by php-http/guzzle6-adapter[2.x-dev, v2.0.0].
    - Conclusion: don't install php-http/httplug v1.1.0
    - php-http/guzzle6-adapter dev-master requires php-http/httplug ^2.0 -> satisfiable by php-http/httplug[2.0.x-dev, v2.0.0].
    - Can only install one of: php-http/httplug[2.0.x-dev, v1.1.0].
    - Can only install one of: php-http/httplug[v2.0.0, v1.1.0].
    - Installation request for php-http/httplug (locked at v1.1.0) -> satisfiable by php-http/httplug[v1.1.0].


Installation failed, reverting ./composer.json to its original content.

Do you any workaround to allow us to use your package? :)

Best

Hey @sylouuu, can you try this install command instead ?

composer require florianv/swap php-http/message php-http/guzzle6-adapter ^1.0