NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #133 most downloaded on Packagist
Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations
Latest stable
1.20.0
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
Drag across the ruler to compare, or tap a release to open it.
#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
#264 - Do not report a general conflict with sebastian/comparator but make sure we install the correct version for our tests.
sebastian/comparator but make sure we install the correct version for our tests.Your coding agent can read these notes before it upgrades. Set up the MCP server →
#261 - explicitly mark nullable parameters as nullable (avoid deprecation in PHP 8.4)
#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
HttpClient interface from their HTTP client, do not discover the version 7 client when lookig for the old interface.HttpClient interface from their HTTP client, do not discover the version 7 client when looking for the old interface.#250 - Fix: Buzz client instantiation using deprecated Message Factory Discovery, use PSR-17 factory discovery instead.
#249 - Have composer plugin correctly install Symfony http client when nothing explicitly requires psr 18 resp. httplug. #241 - Support discovering PS
#242 - Better exception message when no legacy php-http message factories can be built. Also needs php-http/message-factory package and they are depre
#235 - Deprecate HttpClientDiscovery, use Psr18ClientDiscovery instead #238 - Skip requiring php-http/message-factory when installing symfony/http-cli
#230 - Add Psr18Client to make it straightforward to use PSR-18 #232 - Allow pinning the preferred implementations in composer.json #233 - Fix Psr17Fa
#225 - Remove support for the abandoned Zend Diactoros which has been replaced with Laminas Diactoros; marked the zend library as conflict in composer
- #224 - Fix regression with Magento classloader
- #219 - Fix handling of replaced packages
- #214 - Fix resolving deps for psr/http-message-implementation - #216 - Fix keeping platform requirements when rebooting composer - #217 - Set extra.
- #209 - Add generic Psr17Factory class - #208 - Add composer plugin to auto-install missing implementations. When libraries require an http implement
Psr17Factory class- #207 - Updates Exception to extend Throwable solving static analysis errors for consumers
- #202 - Avoid error when the Symfony PSR-18 client exists but its dependencies are not installed
- #199 - Fixes message factory discovery for laminas-diactoros ^2.7
laminas-diactoros ^2.7Remove the deprecated puli, as it has been unmaintained for a long time and is not compatible with composer 2 https://github.com/php-http/discovery/pu…
Support discovering PSR-17 factories of slim/psr7 package https://github.com/php-http/discovery/pull/192
slim/psr7 package https://github.com/php-http/discovery/pull/192Support discovering HttpClient of php-http/guzzle7-adapter https://github.com/php-http/discovery/pull/189
php-http/guzzle7-adapter https://github.com/php-http/discovery/pull/189Use correct method name to find Uri Factory in PSR17 https://github.com/php-http/discovery/pull/181
Discover PSR-18 implementation of phalcon
### Fixed - Support PHP 7.4 and 8.0
Support discovering PSR-18 factories of guzzlehttp/guzzle 7+
guzzlehttp/guzzle 7+Support discovering PSR-17 factories of guzzlehttp/psr7 package
guzzlehttp/psr7 packagelaminas/laminas-diactoros packageClassDiscovery::getStrategies() to retrieve the list of current strategies.See change log for changes.
See change log for changes.
Enough conditions to only use Symfony HTTP client if all needed components are available.
Allow a condition to specify an interface and not just classes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
MockClientStrategy also provides the mock client when requesting an async client
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
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
This release includes new features that was not meant to be included. Do not use this version.
See change log for changes.
This release includes new features that was not meant to be included. Do not use this version.
This version added new features by mistake. These are reverted in 1.5.2.
Do not use 1.5.1.
See change log for changes.
See change log for changes.
nyholm/psr7 version 1.0.ClassDiscovery::safeClassExists which will help Magento users.NoCandidateFoundException.Discovery support for nyholm/psr7
Added support for: - CakePHP adapter - Zend adapter - Artax adapter
Added support for:
Bugfixes in MockClientStrategy
Bugfixes in MockClientStrategy
MockClientStrategy, also added more tests.Added MockClientStrategy class
Added MockClientStrategy class
Made exception messages clearer. StrategyUnavailableException is no longer the previous exception to DiscoveryFailedException.
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.Support for Slim Framework factories
Support for Slim Framework factories
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.
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.Http\Discovery\Exception which is implemented by all our exceptionsHttp\Discovery\NotFoundException (extending the new exception) will be thrown until version 2.0Dropping PHP 5.4 support because we use the ::class constant.
Discovery strategies to find classes
NotFoundException moved to Http\Discovery\Exception\NotFoundExceptionPuli composer plugin must be installed separately
Puli binary is added to this repository until puli/issues#165 is resolved.
Puli binary is added to this repository until puli/issues#165 is resolved.
However, if you have puli globally installed, it will be used. Make sure that your puli binary is at least beta10
https://twitter.com/PuliPHP/status/685132540588507137
https://twitter.com/PuliPHP/status/685132540588507137
### Changed - Adjust Puli dependencies
### Changed - Make Puli CLI a requirement
### Changed - More flexible Puli requirement
We replaced our internal discovery logic with Puli. While the public API remains the same, this improvement (along with adding puli configuration to t
We replaced our internal discovery logic with Puli. While the public API remains the same, this improvement (along with adding puli configuration to the relevant reporitories) allows you to drop our discovery layer if you want and use plain Puli.
Updated message factory dependency (php-http/message)
Array condition evaluation in the Class Discovery
Discoveries and Factories are final
Renamed AdapterDiscovery to ClientDiscovery to match the naming in Httplug
Renamed AdapterDiscovery to ClientDiscovery to match the naming in Httplug
Bad HTTP Adapter class name for Guzzle 5
### Added - Initial release
One column per quarter.