php-http/guzzle6-adapter
PSR-7/PSR-18 compatible adapter that lets you use Guzzle 6 as an HTTPlug HTTP client. Provides a bridge for sending requests through Guzzle while working with php-http contracts, useful for libraries that depend on standardized HTTP interfaces.
\Http\Adapter\Guzzle6\Client::sendRequest no longer throws any exceptions that do not implement
the PSR exception interface.
Instead of \UnexpectedValueException we now throw Http\Adapter\Guzzle6\Exception\UnexpectedValueException
(which extends \UnexpectedValueException and implements Psr\Http\Client\ClientExceptionInterface).
Instead of \RuntimeException we now throw Http\Client\Exception\TransferException
(which extends \RuntimeException and implements Psr\Http\Client\ClientExceptionInterface).
Client and Promise are both finalHow can I help you explore Laravel packages today?