php-http/httplug
HTTPlug provides HTTP client abstraction interfaces for PHP, built on PSR-7 messages. Defines async HttpAsyncClient plus a sync HttpClient similar to PSR-18, enabling libraries to stay client-agnostic while supporting multiple HTTP implementations.
HTTPlug, the HTTP client abstraction for PHP.
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.
HTTPlug is the official successor of the ivory http adapter. HTTPlug is a predecessor of PSR-18
Via Composer
$ composer require php-http/httplug
Please see the official documentation.
$ composer test
The MIT License (MIT). Please see License File for more information.
How can I help you explore Laravel packages today?