php-http / guzzle6-adapter
Guzzle 6 HTTP Adapter
Installs: 81 629 647
Dependents: 1 050
Suggesters: 69
Security: 0
Stars: 1 377
Watchers: 15
Forks: 50
Open Issues: 2
Requires
- php: ^7.1 || ^8.0
- guzzlehttp/guzzle: ^6.0
- php-http/httplug: ^2.0
- psr/http-client: ^1.0
Requires (Dev)
- ext-curl: *
- php-http/client-integration-tests: ^2.0 || ^3.0
- phpunit/phpunit: ^7.4 || ^8.4
Provides
README
Guzzle 6 HTTP Adapter.
Guzzle 6 is not maintained anymore. We recommend to upgrade to Guzzle version 7 which implements PSR-18 natively and does not need an adapter.
If you need the HttpAsyncClient
, use guzzle7-adapter with Guzzle 7 instead of this repository.
Install
Via Composer
$ composer require php-http/guzzle6-adapter
Documentation
Please see the official documentation.
Testing
First launch the http server:
$ ./vendor/bin/http_test_server > /dev/null 2>&1 &
Then the test suite:
$ composer test
Contributing
Please see our contributing guide.
Security
If you discover any security related issues, please contact us at security@php-http.org.
Credits
Thanks to David de Boer for implementing this adapter.
License
The MIT License (MIT). Please see License File for more information.