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 2024Releases
latest 57-
1.20.002 Oct 2024 -
1.19.429 Mar 2024Release notes
Open source →- #264 - Do not report a general conflict with
sebastian/comparatorbut make sure we install the correct version for our tests.
Release notes
Open source →- #264 - Do not report a general conflict with
sebastian/comparatorbut make sure we install the correct version for our tests.
- #264 - Do not report a general conflict with
-
1.19.328 Mar 2024Release notes
Open source →- #261 - explicitly mark nullable parameters as nullable (avoid deprecation in PHP 8.4)
Release notes
Open source →- #261 - explicitly mark nullable parameters as nullable (avoid deprecation in PHP 8.4)
-
1.19.230 Nov 2023Release notes
Open source →- #253 - Symfony 7 dropped the deprecated PHP-HTTP
HttpClientinterface from their HTTP client, do not discover the version 7 client when lookig for the old interface.
Release notes
Open source →- #253 - Symfony 7 dropped the deprecated PHP-HTTP
HttpClientinterface from their HTTP client, do not discover the version 7 client when looking for the old interface.
- #253 - Symfony 7 dropped the deprecated PHP-HTTP
-
1.19.111 Jul 2023Release notes
Open source →- #250 - Fix: Buzz client instantiation using deprecated Message Factory Discovery, use PSR-17 factory discovery instead.
Release notes
Open source →- #250 - Fix: Buzz client instantiation using deprecated Message Factory Discovery, use PSR-17 factory discovery instead.
-
1.19.019 Jun 2023 -
1.18.117 May 2023Release notes
Open source →- #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.
Release notes
Open source →- #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.
-
1.18.003 May 2023 -
1.17.026 Apr 2023 -
1.16.026 Apr 2023 -
1.15.331 Mar 2023 -
1.15.211 Feb 2023 -
1.15.110 Feb 2023 -
1.15.009 Feb 2023Release notes
Open source →- #209 - Add generic
Psr17Factoryclass - #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.
- #209 - Add generic
-
1.14.311 Jul 2022Release notes
Open source →- #207 - Updates Exception to extend Throwable solving static analysis errors for consumers
-
1.14.225 May 2022Release notes
Open source →- #202 - Avoid error when the Symfony PSR-18 client exists but its dependencies are not installed
-
1.14.118 Sep 2021 -
1.14.001 Jun 2021Release notes
Open source →- 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
-
1.13.027 Nov 2020Release notes
Open source →- Support discovering PSR-17 factories of
slim/psr7package https://github.com/php-http/discovery/pull/192
- Support discovering PSR-17 factories of
-
1.12.022 Sep 2020Release notes
Open source →- Support discovering HttpClient of
php-http/guzzle7-adapterhttps://github.com/php-http/discovery/pull/189
- Support discovering HttpClient of
-
1.11.022 Sep 2020Release notes
Open source →- Use correct method name to find Uri Factory in PSR17 https://github.com/php-http/discovery/pull/181
-
1.10.004 Sep 2020 -
1.9.113 Jul 2020 -
1.9.002 Jul 2020 -
1.8.014 Jun 2020Release notes
Open source →Added
- Support discovering PSR-17 factories of
guzzlehttp/psr7package - Support discovering PSR-17 factories of
laminas/laminas-diactorospackage ClassDiscovery::getStrategies()to retrieve the list of current strategies.
Fixed
- Ignore exception during discovery when Symfony HttplugClient checks if HTTPlug is available.
- Support discovering PSR-17 factories of
-
1.7.403 Jan 2020 -
1.7.327 Dec 2019Release notes
Open source →Fixed
- Enough conditions to only use Symfony HTTP client if all needed components are available.
-
1.7.227 Dec 2019 -
1.7.117 Dec 2019 -
1.7.030 Jun 2019 -
1.6.123 Feb 2019Release notes
Open source →Fixed
- MockClientStrategy also provides the mock client when requesting an async client
-
1.6.023 Jan 2019 -
1.5.231 Dec 2018Release notes
Open source →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
-
1.5.130 Dec 2018Release notes
Open source →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
-
1.5.030 Dec 2018Release notes
Open source →Added
- Support for
nyholm/psr7version 1.0. ClassDiscovery::safeClassExistswhich 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.
- Support for
-
1.4.006 Feb 2018 -
1.3.003 Aug 2017Release notes
Open source →Added
- Discovery support for CakePHP adapter
- Discovery support for Zend adapter
- Discovery support for Artax adapter
-
1.2.102 Mar 2017 -
1.2.012 Feb 2017 -
v1.1.127 Nov 2016Release notes
Open source →Changed
- Made exception messages clearer.
StrategyUnavailableExceptionis no longer the previous exception toDiscoveryFailedException. CommonClassesStrategyis usingselfinstead ofstatic. Usingstaticmakes no sense whenCommonClassesStrategyis final.
- Made exception messages clearer.
-
v1.1.020 Oct 2016 -
v1.0.018 Jul 2016Release notes
Open source →Added
- Added back
Http\Discovery\NotFoundExceptionto 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\Exceptionwhich 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
- Added back
-
v0.9.128 Jun 2016 -
v0.9.025 Jun 2016Release notes
Open source →Added
- Discovery strategies to find classes
Changed
- Puli made optional
- Improved exceptions
- [BC]
NotFoundExceptionmoved toHttp\Discovery\Exception\NotFoundException
-
v0.8.011 Feb 2016 -
v0.7.015 Jan 2016Release notes
Open source →Added
- Temporary puli.phar (Beta 10) executable
Changed
- Updated HTTPlug dependencies
- Updated Puli dependencies
- Local configuration to make tests passing
Removed
- Puli CLI dependency
-
v0.6.407 Jan 2016 -
v0.6.304 Jan 2016 -
v0.6.204 Jan 2016 -
v0.6.103 Jan 2016 -
v0.6.030 Dec 2015 -
v0.5.025 Dec 2015 -
v0.4.017 Dec 2015Release notes
Open source →Added
- Array condition evaluation in the Class Discovery
Removed
- Message factories (moved to php-http/utils)
-
v0.3.018 Nov 2015Release notes
Open source →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
-
0.2.031 Oct 2015 -
v0.1.113 Jun 2015 -
v0.1.012 Jun 2015