php-http/adapter

This package is abandoned and no longer maintained. The author suggests using the php-http/httplug package instead.

HTTPlug, the HTTP client abstraction for PHP

2.4.0 2023-04-14 15:10 UTC

README

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.