Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php-http/client-implementation required #25

Open
screambeard opened this issue Aug 4, 2017 · 3 comments
Open

php-http/client-implementation required #25

screambeard opened this issue Aug 4, 2017 · 3 comments

Comments

@screambeard
Copy link

On installation of the package the following error is returned:

Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - Installation request for php-xapi/client ^v0.5 -> satisfiable by php-xapi/client[v0.5.0].
    - php-xapi/client v0.5.0 requires php-http/client-implementation ^1.0 -> no matching package found.

When looking at packages which provide this specific package: https://packagist.org/providers/php-http/client-implementation I picked one. Maybe good to mention this in the README?

@xabbuh
Copy link
Contributor

xabbuh commented Aug 4, 2017

@screambeard Thanks for the report. You are absolutely right about that. We mentioned this for users upgrading from 0.4 to 0.5, but apparently forgot to update the readme too.

@screambeard
Copy link
Author

@xabbuh ah, didn't look there. Would be good idea to include it in the READme as well

@Bazzastyle
Copy link

Problem 1
    - Root composer.json requires php-xapi/client ^0.5.0 -> satisfiable by php-xapi/client[v0.5.0].
    - php-xapi/client v0.5.0 requires php-http/client-implementation ^1.0 -> could not be found in any version, but the following packages provide it:
      - symfony/http-client Provides powerful methods to fetch HTTP resources synchronously or asynchronously
      - php-http/guzzle6-adapter Guzzle 6 HTTP Adapter
      - symfony/symfony The Symfony PHP framework
      - php-http/curl-client PSR-18 and HTTPlug Async client with cURL
      - kriswallsmith/buzz Lightweight HTTP client
      - php-http/guzzle7-adapter Guzzle 7 HTTP Adapter
      - php-http/mock-client Mock HTTP client
      - php-http/socket-client Socket client for PHP-HTTP
      - php-http/guzzle5-adapter Guzzle 5 HTTP Adapter
      - jorge-matricali/http-client A wrapper of libcurl that implements PSR-7 HTTP message interface.
      - php-http/buzz-adapter Buzz HTTP Adapter
      - voku/httpful A Readable, Chainable, REST friendly, PHP HTTP Client
      - php-http/cakephp-adapter Cake adapter for PHP-HTTP
      - php-http/react-adapter React HTTP Adapter
      - code-tool/curl-client cURL client
      - juststeveking/http-slim A slim psr compliant http client to provide better interoperability
      - windwalker/http Windwalker Http package
      - eonx-com/apiformats Package for working with API requests and responses in different formats
      - windwalker/framework A Modern PHP framework.
      - swisnl/php-http-fixture-client Fixture client for PHP-HTTP
      ... and 27 more.
      Consider requiring one of these to satisfy the php-http/client-implementation requirement.

please fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants