HTTPlug, the HTTP client abstraction for PHP.
HTTPlug is the predecessor of PSR-18 HTTP Client standard built on PSR-7 HTTP messages. Since there is an entire ecosystem built around HTTPlug which is already widely adopted, we will keep maintaining this package for the time being, but new implementations and consumers should use the PSR-18 interfaces. HTTPlug 2.x extends the PSR-18 interfaces to allow a convenient migration path. In the long term, we expect PSR-18 to completely replace the need for HTTPlug.
This library is the official successor of the ivory http adapter.
Via Composer
$ composer require php-http/httplug
Please see the official documentation.
$ composer test
Please see our contributing guide.
If you discover any security related issues, please contact us at [email protected].
The MIT License (MIT). Please see License File for more information.