src
3 years ago
CHANGELOG.md
4 years ago
LICENSE
7 years ago
README.md
7 years ago
composer.json
5 years ago
README.md
56 lines
| 1 | # HTTP Client Common |
| 2 | |
| 3 | [](https://github.com/php-http/client-common/releases](https://github.com/php-http/client-common/releases](https://github.com/php-http/client-common/releases) |
| 4 | [](LICENSE](LICENSE](LICENSE) |
| 5 | [](https://travis-ci.org/php-http/client-common](https://travis-ci.org/php-http/client-common](https://travis-ci.org/php-http/client-common) |
| 6 | [](https://scrutinizer-ci.com/g/php-http/client-common](https://scrutinizer-ci.com/g/php-http/client-common](https://scrutinizer-ci.com/g/php-http/client-common) |
| 7 | [](https://scrutinizer-ci.com/g/php-http/client-common](https://scrutinizer-ci.com/g/php-http/client-common](https://scrutinizer-ci.com/g/php-http/client-common) |
| 8 | [](https://packagist.org/packages/php-http/client-common](https://packagist.org/packages/php-http/client-common](https://packagist.org/packages/php-http/client-common) |
| 9 | |
| 10 | **Common HTTP Client implementations and tools for HTTPlug.** |
| 11 | |
| 12 | |
| 13 | ## Install |
| 14 | |
| 15 | Via Composer |
| 16 | |
| 17 | ``` bash |
| 18 | $ composer require php-http/client-common |
| 19 | ``` |
| 20 | |
| 21 | |
| 22 | ## Usage |
| 23 | |
| 24 | This package provides common tools for HTTP Clients: |
| 25 | |
| 26 | - BatchClient to handle sending requests in parallel |
| 27 | - A convenience client with HTTP method names as class methods |
| 28 | - Emulator, decorator layers for sync/async clients |
| 29 | |
| 30 | |
| 31 | ## Documentation |
| 32 | |
| 33 | Please see the [](http://docs.php-http.org/en/latest/components/client-common.htmlofficial documentation](http://docs.php-http.org/en/latest/components/client-common.html](http://docs.php-http.org/en/latest/components/client-common.html). |
| 34 | |
| 35 | |
| 36 | ## Testing |
| 37 | |
| 38 | ``` bash |
| 39 | $ composer test |
| 40 | ``` |
| 41 | |
| 42 | |
| 43 | ## Contributing |
| 44 | |
| 45 | Please see our [](http://docs.php-http.org/en/latest/development/contributing.htmlcontributing guide](http://docs.php-http.org/en/latest/development/contributing.html](http://docs.php-http.org/en/latest/development/contributing.html). |
| 46 | |
| 47 | |
| 48 | ## Security |
| 49 | |
| 50 | If you discover any security related issues, please contact us at [](mailto:security@php-http.orgsecurity@php-http.org](mailto:security@php-http.org](mailto:security@php-http.org). |
| 51 | |
| 52 | |
| 53 | ## License |
| 54 | |
| 55 | The MIT License (MIT). Please see [](LICENSELicense File](LICENSE](LICENSE) for more information. |
| 56 |