Guzzle 6 HTTP Adapter.
Note: Guzzle 6 is not compatible with PHP 8. If you need a PSR-18 client, use PSR-18 and Guzzle 7 which natively implements PSR-18. If you need the HTTPlug interfaces for asynchronous calls or for a system that still requires HTTPlug, use the guzzle7-adapter instead of this repository.
Via Composer
$ composer require php-http/guzzle6-adapter
Please see the official documentation.
First launch the http server:
$ ./vendor/bin/http_test_server > /dev/null 2>&1 &
Then the test suite:
$ composer test
Please see our contributing guide.
If you discover any security related issues, please contact us at [email protected].
Thanks to David de Boer for implementing this adapter.
The MIT License (MIT). Please see License File for more information.