php-http/discovery
Auto-discovery for HTTP clients and factories: finds PSR-18 clients and PSR-17/PSR-7 implementations at runtime, so libraries can depend on interfaces without forcing a specific vendor. Includes a Composer plugin for optional auto-installation.
sebastian/comparator but make sure we install the correct version for our tests.HttpClient interface from their HTTP client, do not discover the version 7 client when looking for the old interface.Psr17Factory classlaminas-diactoros ^2.7slim/psr7 package https://github.com/php-http/discovery/pull/192php-http/guzzle7-adapter https://github.com/php-http/discovery/pull/189guzzlehttp/guzzle 7+guzzlehttp/psr7 packagelaminas/laminas-diactoros packageClassDiscovery::getStrategies() to retrieve the list of current strategies.symfony/http-clientCorrected mistakes in 1.5.1. The different between 1.5.2 and 1.5.0 is that we removed some PHP 7 code.
This version added new features by mistake. These are reverted in 1.5.2.
Do not use 1.5.1.
nyholm/psr7 version 1.0.ClassDiscovery::safeClassExists which will help Magento users.NoCandidateFoundException.MockClientStrategy, also added more tests.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.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.0NotFoundException moved to Http\Discovery\Exception\NotFoundExceptionHow can I help you explore Laravel packages today?