php-http / httplug
HTTPlug, the HTTP client abstraction for PHP
Installs: 228 388 264
Dependents: 718
Suggesters: 13
Security: 0
Stars: 2 569
Watchers: 33
Forks: 38
Open Issues: 1
Requires
- php: ^7.1 || ^8.0
- php-http/promise: ^1.1
- psr/http-client: ^1.0
- psr/http-message: ^1.0 || ^2.0
Requires (Dev)
- friends-of-phpspec/phpspec-code-coverage: ^4.1 || ^5.0 || ^6.0
- phpspec/phpspec: ^5.1 || ^6.0 || ^7.0
This package is auto-updated.
Last update: 2024-10-23 13:36:18 UTC
README
HTTPlug, the HTTP client abstraction for PHP.
Intro
HTTP client standard built on PSR-7 HTTP messages. The HttpAsyncClient defines an asynchronous HTTP client for PHP.
This package also provides a synchronous HttpClient interface with the same method signature as the PSR-18 client. For synchronous requests, we recommend using PSR-18 directly.
History
HTTPlug is the official successor of the ivory http adapter. HTTPlug is a predecessor of PSR-18
Install
Via Composer
$ composer require php-http/httplug
Documentation
Please see the official documentation.
Testing
$ composer test
License
The MIT License (MIT). Please see License File for more information.