Skip to content

php-http/httplug

Repository files navigation

HTTPlug

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads

Email

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.