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
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
#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.
One column per quarter.
sebastian/comparator but make sure we install the correct version for our tests.#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.7Deprecate 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
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.Improve conditions on Symfony's async HTTPlug client.
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.
Better conditions to see if Symfony's HTTP clients are available.
Support for symfony/http-client
symfony/http-clientMockClientStrategy also provides the mock client when requesting an async client
### Added - Support for PSR-17 factories - Support for PSR-18 clients
Corrected mistakes in 1.5.1. The different between 1.5.2 and 1.5.0 is that we removed some PHP 7 code.
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 version added new features by mistake. These are reverted in 1.5.2.
This version added new features by mistake. These are reverted in 1.5.2.
Do not use 1.5.1.
Support for nyholm/psr7 version 1.0.
nyholm/psr7 version 1.0.ClassDiscovery::safeClassExists which will help Magento users.NoCandidateFoundException.Discovery support for nyholm/psr7
Discovery support for CakePHP adapter
Fixed minor issue with MockClientStrategy, also added more tests.
MockClientStrategy, also added more tests.### 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.Discovery 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
Temporary puli.phar (Beta 10) executable
Puli not working with the latest json-schema
### Changed - Adjust Puli dependencies
### Changed - Make Puli CLI a requirement
### Changed - More flexible Puli requirement
### Changed - Use Puli for discovery - Improved exception messages
Updated message factory dependency (php-http/message)
Array condition evaluation in the Class Discovery
Discoveries and Factories are final
Renamed AdapterDiscovery to ClientDiscovery
Bad HTTP Adapter class name for Guzzle 5
### Added - Initial release
Your coding agent can read these notes before it upgrades. Set up the MCP server →