You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.9 KiB
55 lines
1.9 KiB
8 months ago
|
# HTTPlug
|
||
|
|
||
|
[](https://github.com/php-http/httplug/releases)
|
||
|
[](LICENSE)
|
||
|
[](https://github.com/php-http/httplug/actions/workflows/ci.yml)
|
||
|
[](https://scrutinizer-ci.com/g/php-http/httplug)
|
||
|
[](https://scrutinizer-ci.com/g/php-http/httplug)
|
||
|
[](https://packagist.org/packages/php-http/httplug)
|
||
|
|
||
|
[](mailto:team@httplug.io)
|
||
|
|
||
|
**HTTPlug, the HTTP client abstraction for PHP.**
|
||
|
|
||
|
|
||
|
## Intro
|
||
|
|
||
|
HTTP client standard built on [PSR-7](http://www.php-fig.org/psr/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](http://www.php-fig.org/psr/psr-18/) client.
|
||
|
For synchronous requests, we recommend using PSR-18 directly.
|
||
|
|
||
|
|
||
|
## History
|
||
|
|
||
|
HTTPlug is the official successor of the [ivory http adapter](https://github.com/egeloen/ivory-http-adapter).
|
||
|
HTTPlug is a predecessor of [PSR-18](http://www.php-fig.org/psr/psr-18/)
|
||
|
|
||
|
|
||
|
## Install
|
||
|
|
||
|
Via Composer
|
||
|
|
||
|
``` bash
|
||
|
$ composer require php-http/httplug
|
||
|
```
|
||
|
|
||
|
|
||
|
## Documentation
|
||
|
|
||
|
Please see the [official documentation](http://docs.php-http.org).
|
||
|
|
||
|
|
||
|
## Testing
|
||
|
|
||
|
``` bash
|
||
|
$ composer test
|
||
|
```
|
||
|
|
||
|
|
||
|
## License
|
||
|
|
||
|
The MIT License (MIT). Please see [License File](LICENSE) for more information.
|