PackageTrack
Sign in Get early access

php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.20.0 351M downloads/mo #134 most downloaded on composer php-http/discovery

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 3 weeks to 8 months

Nearly every release is documented

notes for 57 of 57 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

57 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

57 releases · Jun 2015 to Oct 2024
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 57
  1. 1.20.0 02 Oct 2024
    Release notes
    • #268 - Do not attempt to update lock file when it is not existing.
    • #267 - Test with PHP 8.3 and 8.4
    • #266 - If wrapped client implements factories, use those instead of discovering new factories.
    Open source →
    Release notes
    • #268 - Do not attempt to update lock file when it is not existing.
    • #267 - Test with PHP 8.3 and 8.4
    • #266 - If wrapped client implements factories, use those instead of discovering new factories.
    Open source →
    Release notes

    1.20.0 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 1.19.4 29 Mar 2024
    Release notes
    • #264 - Do not report a general conflict with sebastian/comparator but make sure we install the correct version for our tests.
    Open source →
    Release notes
    • #264 - Do not report a general conflict with sebastian/comparator but make sure we install the correct version for our tests.
    Open source →
    Release notes

    1.19.4

    Compare

    Choose a tag to compare

    Open source →
  3. 1.19.3 28 Mar 2024
    Release notes
    • #261 - explicitly mark nullable parameters as nullable (avoid deprecation in PHP 8.4)
    Open source →
    Release notes
    • #261 - explicitly mark nullable parameters as nullable (avoid deprecation in PHP 8.4)
    Open source →
    Release notes

    1.19.3

    Compare

    Choose a tag to compare

    Open source →
  4. 1.19.2 30 Nov 2023
    Release notes
    • #253 - Symfony 7 dropped the deprecated PHP-HTTP HttpClient interface from their HTTP client, do not discover the version 7 client when lookig for the old interface.
    Open source →
    Release notes
    • #253 - Symfony 7 dropped the deprecated PHP-HTTP HttpClient interface from their HTTP client, do not discover the version 7 client when looking for the old interface.
    Open source →
    Release notes

    1.19.2

    Compare

    Choose a tag to compare

    Open source →
  5. 1.19.1 11 Jul 2023
    Release notes
    • #250 - Fix: Buzz client instantiation using deprecated Message Factory Discovery, use PSR-17 factory discovery instead.
    Open source →
    Release notes
    • #250 - Fix: Buzz client instantiation using deprecated Message Factory Discovery, use PSR-17 factory discovery instead.
    Open source →
    Release notes

    1.19.1

    Compare

    Choose a tag to compare

    Open source →
  6. 1.19.0 19 Jun 2023
    Release notes
    • #249 - Have composer plugin correctly install Symfony http client when nothing explicitly requires psr 18 resp. httplug.
    • #241 - Support discovering PSR-17 factories of httpsoft/http-message package
    Open source →
    Release notes
    • #249 - Have composer plugin correctly install Symfony http client when nothing explicitly requires psr 18 resp. httplug.
    • #241 - Support discovering PSR-17 factories of httpsoft/http-message package
    Open source →
    Release notes

    1.19.0

    Compare

    Choose a tag to compare

    Open source →
  7. 1.18.1 17 May 2023
    Release notes
    • #242 - Better exception message when no legacy php-http message factories can be built. Also needs php-http/message-factory package and they are deprecated in favor of PSR-17 anyways.
    Open source →
    Release notes
    • #242 - Better exception message when no legacy php-http message factories can be built. Also needs php-http/message-factory package and they are deprecated in favor of PSR-17 anyways.
    Open source →
    Release notes

    1.18.1

    Compare

    Choose a tag to compare

    Open source →
  8. 1.18.0 03 May 2023
    Release notes
    • #235 - Deprecate HttpClientDiscovery, use Psr18ClientDiscovery instead
    • #238 - Skip requiring php-http/message-factory when installing symfony/http-client 6.3+
    • #239 - Skip auto-installing when the root package's extra.discovery is enough
    Open source →
    Release notes
    • #235 - Deprecate HttpClientDiscovery, use Psr18ClientDiscovery instead
    • #238 - Skip requiring php-http/message-factory when installing symfony/http-client 6.3+
    • #239 - Skip auto-installing when the root package's extra.discovery is enough
    Open source →
    Release notes

    1.18.0

    Compare

    Choose a tag to compare

    Open source →
  9. 1.17.0 26 Apr 2023
    Release notes
    • #230 - Add Psr18Client to make it straightforward to use PSR-18
    • #232 - Allow pinning the preferred implementations in composer.json
    • #233 - Fix Psr17Factory::createServerRequestFromGlobals() when uploaded files have been moved
    Open source →
    Release notes
    • #230 - Add Psr18Client to make it straightforward to use PSR-18
    • #232 - Allow pinning the preferred implementations in composer.json
    • #233 - Fix Psr17Factory::createServerRequestFromGlobals() when uploaded files have been moved
    Open source →
    Release notes

    1.17.0

    Compare

    Choose a tag to compare

    Open source →
  10. 1.16.0 26 Apr 2023
    Release notes
    • #225 - Remove support for the abandoned Zend Diactoros which has been replaced with Laminas Diactoros; marked the zend library as conflict in composer.json to avoid confusion
    • #227 - Fix handling requests with nested files
    Open source →
    Release notes
    • #225 - Remove support for the abandoned Zend Diactoros which has been replaced with Laminas Diactoros; marked the zend library as conflict in composer.json to avoid confusion
    • #227 - Fix handling requests with nested files
    Open source →
    Release notes

    1.16.0

    Compare

    Choose a tag to compare

    Open source →
  11. 1.15.3 31 Mar 2023
    Release notes
    • #224 - Fix regression with Magento classloader
    Open source →
  12. 1.15.2 11 Feb 2023
    Release notes
    • #219 - Fix handling of replaced packages
    Open source →
  13. 1.15.1 10 Feb 2023
    Release notes
    • #214 - Fix resolving deps for psr/http-message-implementation
    • #216 - Fix keeping platform requirements when rebooting composer
    • #217 - Set extra.plugin-optional composer flag
    Open source →
  14. 1.15.0 09 Feb 2023
    Release notes
    • #209 - Add generic Psr17Factory class
    • #208 - Add composer plugin to auto-install missing implementations. When libraries require an http implementation but no packages providing that implementation is installed in the application, the plugin will automatically install one. This is only done for libraries that directly require php-http/discovery to avoid unexpected dependency installation.
    Open source →
  15. 1.14.3 11 Jul 2022
    Release notes
    • #207 - Updates Exception to extend Throwable solving static analysis errors for consumers
    Open source →
  16. 1.14.2 25 May 2022
    Release notes
    • #202 - Avoid error when the Symfony PSR-18 client exists but its dependencies are not installed
    Open source →
  17. 1.14.1 18 Sep 2021
    Release notes
    • #199 - Fixes message factory discovery for laminas-diactoros ^2.7
    Open source →
  18. 1.14.0 01 Jun 2021
    Release notes
    • Deprecate puli as it has been unmaintained for a long time and is not compatible with composer 2 https://github.com/php-http/discovery/pull/195
    Open source →
  19. 1.13.0 27 Nov 2020
    Release notes
    • Support discovering PSR-17 factories of slim/psr7 package https://github.com/php-http/discovery/pull/192
    Open source →
  20. 1.12.0 22 Sep 2020
    Release notes
    • Support discovering HttpClient of php-http/guzzle7-adapter https://github.com/php-http/discovery/pull/189
    Open source →
  21. 1.11.0 22 Sep 2020
    Release notes
    • Use correct method name to find Uri Factory in PSR17 https://github.com/php-http/discovery/pull/181
    Open source →
  22. 1.10.0 04 Sep 2020
    Release notes
    • Discover PSR-18 implementation of phalcon
    Open source →
  23. 1.9.1 13 Jul 2020
    Release notes

    Fixed

    • Support PHP 7.4 and 8.0
    Open source →
  24. 1.9.0 02 Jul 2020
    Release notes

    Added

    • Support discovering PSR-18 factories of guzzlehttp/guzzle 7+
    Open source →
  25. 1.8.0 14 Jun 2020
    Release notes

    Added

    • Support discovering PSR-17 factories of guzzlehttp/psr7 package
    • Support discovering PSR-17 factories of laminas/laminas-diactoros package
    • ClassDiscovery::getStrategies() to retrieve the list of current strategies.

    Fixed

    • Ignore exception during discovery when Symfony HttplugClient checks if HTTPlug is available.
    Open source →
  26. 1.7.4 03 Jan 2020
    Release notes

    Fixed

    • Improve conditions on Symfony's async HTTPlug client.
    Open source →
  27. 1.7.3 27 Dec 2019
    Release notes

    Fixed

    • Enough conditions to only use Symfony HTTP client if all needed components are available.
    Open source →
  28. 1.7.2 27 Dec 2019
    Release notes

    Fixed

    • Allow a condition to specify an interface and not just classes.
    Open source →
  29. 1.7.1 17 Dec 2019
    Release notes

    Fixed

    • Better conditions to see if Symfony's HTTP clients are available.
    Open source →
  30. 1.7.0 30 Jun 2019
    Release notes

    Added

    • Dropped support for PHP < 7.1
    • Support for symfony/http-client
    Open source →
  31. 1.6.1 23 Feb 2019
    Release notes

    Fixed

    • MockClientStrategy also provides the mock client when requesting an async client
    Open source →
  32. 1.6.0 23 Jan 2019
    Release notes

    Added

    • Support for PSR-17 factories
    • Support for PSR-18 clients
    Open source →
  33. 1.5.2 31 Dec 2018
    Release notes

    Corrected mistakes in 1.5.1. The different between 1.5.2 and 1.5.0 is that we removed some PHP 7 code.

    https://github.com/php-http/discovery/compare/1.5.0...1.5.2

    Open source →
  34. 1.5.1 30 Dec 2018
    Release notes

    This version added new features by mistake. These are reverted in 1.5.2.

    Do not use 1.5.1.

    Fixed

    • Removed PHP 7 code
    Open source →
  35. 1.5.0 30 Dec 2018
    Release notes

    Added

    • Support for nyholm/psr7 version 1.0.
    • ClassDiscovery::safeClassExists which will help Magento users.
    • Support for HTTPlug 2.0
    • Support for Buzz 1.0
    • Better error message when nothing found by introducing a new exception: NoCandidateFoundException.

    Fixed

    • Fixed condition evaluation, it should stop after first invalid condition.
    Open source →
  36. 1.4.0 06 Feb 2018
    Release notes

    Added

    • Discovery support for nyholm/psr7
    Open source →
  37. 1.3.0 03 Aug 2017
    Release notes

    Added

    • Discovery support for CakePHP adapter
    • Discovery support for Zend adapter
    • Discovery support for Artax adapter
    Open source →
  38. 1.2.1 02 Mar 2017
    Release notes

    Fixed

    • Fixed minor issue with MockClientStrategy, also added more tests.
    Open source →
  39. 1.2.0 12 Feb 2017
    Release notes

    Added

    • MockClientStrategy class.
    Open source →
  40. v1.1.1 27 Nov 2016
    Release notes

    Changed

    • Made exception messages clearer. StrategyUnavailableException is no longer the previous exception to DiscoveryFailedException.
    • CommonClassesStrategy is using self instead of static. Using static makes no sense when CommonClassesStrategy is final.
    Open source →
  41. v1.1.0 20 Oct 2016
    Release notes

    Added

    • Discovery support for Slim Framework factories
    Open source →
  42. v1.0.0 18 Jul 2016
    Release notes

    Added

    • Added back Http\Discovery\NotFoundException to preserve BC with 0.8 version. You may upgrade from 0.8.x and 0.9.x to 1.0.0 without any BC breaks.
    • Added interface Http\Discovery\Exception which is implemented by all our exceptions

    Changed

    • Puli strategy renamed to Puli Beta strategy to prevent incompatibility with a future Puli stable

    Deprecated

    • For BC reasons, the old Http\Discovery\NotFoundException (extending the new exception) will be thrown until version 2.0
    Open source →
  43. v0.9.1 28 Jun 2016
    Release notes

    Changed

    • Dropping PHP 5.4 support because we use the ::class constant.
    Open source →
  44. v0.9.0 25 Jun 2016
    Release notes

    Added

    • Discovery strategies to find classes

    Changed

    • Puli made optional
    • Improved exceptions
    • [BC] NotFoundException moved to Http\Discovery\Exception\NotFoundException
    Open source →
  45. v0.8.0 11 Feb 2016
    Release notes

    Changed

    • Puli composer plugin must be installed separately
    Open source →
  46. v0.7.0 15 Jan 2016
    Release notes

    Added

    • Temporary puli.phar (Beta 10) executable

    Changed

    • Updated HTTPlug dependencies
    • Updated Puli dependencies
    • Local configuration to make tests passing

    Removed

    • Puli CLI dependency
    Open source →
  47. v0.6.4 07 Jan 2016
    Release notes

    Fixed

    Open source →
  48. v0.6.3 04 Jan 2016
    Release notes

    Changed

    • Adjust Puli dependencies
    Open source →
  49. v0.6.2 04 Jan 2016
    Release notes

    Changed

    • Make Puli CLI a requirement
    Open source →
  50. v0.6.1 03 Jan 2016
    Release notes

    Changed

    • More flexible Puli requirement
    Open source →
  51. v0.6.0 30 Dec 2015
    Release notes

    Changed

    • Use Puli for discovery
    • Improved exception messages
    Open source →
  52. v0.5.0 25 Dec 2015
    Release notes

    Changed

    • Updated message factory dependency (php-http/message)
    Open source →
  53. v0.4.0 17 Dec 2015
    Release notes

    Added

    • Array condition evaluation in the Class Discovery

    Removed

    • Message factories (moved to php-http/utils)
    Open source →
  54. v0.3.0 18 Nov 2015
    Release notes

    Added

    • HTTP Async Client Discovery
    • Stream factories

    Changed

    • Discoveries and Factories are final
    • Message and Uri factories have the type in their names
    • Diactoros Message factory uses Stream factory internally

    Fixed

    • Improved docblocks for API documentation generation
    Open source →
  55. 0.2.0 31 Oct 2015
    Release notes

    Changed

    • Renamed AdapterDiscovery to ClientDiscovery
    Open source →
  56. v0.1.1 13 Jun 2015
    Release notes

    Fixed

    • Bad HTTP Adapter class name for Guzzle 5
    Open source →
  57. v0.1.0 12 Jun 2015
    Release notes

    Added

    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive