Skip to content

php-http/client-implementation required #25

Open

Description

@screambeard

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?

Activity

  1. xabbuh commented on Aug 4, 2017

    @xabbuh
    Contributor

    @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.

  2. screambeard commented on Aug 4, 2017

    @screambeard
    Author

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

  3. Bazzastyle commented on Feb 10, 2021

    @Bazzastyle
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions