https://github.com/php-http/client-common
Common HTTP Client implementations and tools for HTTPlug
https://github.com/php-http/client-common
Last synced: 2 months ago
JSON representation
Common HTTP Client implementations and tools for HTTPlug
- Host: GitHub
- URL: https://github.com/php-http/client-common
- Owner: php-http
- License: mit
- Created: 2015-12-24T22:42:10.000Z (over 9 years ago)
- Default Branch: 2.x
- Last Pushed: 2024-09-24T06:22:30.000Z (10 months ago)
- Last Synced: 2025-05-03T02:50:48.821Z (2 months ago)
- Language: PHP
- Homepage: http://httplug.io
- Size: 435 KB
- Stars: 1,038
- Watchers: 10
- Forks: 53
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# HTTP Client Common
[](https://github.com/php-http/client-common/releases)
[](LICENSE)
[](https://github.com/php-http/client-common/actions/workflows/tests.yml)
[](https://scrutinizer-ci.com/g/php-http/client-common)
[](https://scrutinizer-ci.com/g/php-http/client-common)
[](https://packagist.org/packages/php-http/client-common)**Common HTTP Client implementations and tools for HTTPlug.**
## Install
Via Composer
``` bash
$ composer require php-http/client-common
```## Usage
This package provides common tools for HTTP Clients:
- BatchClient to handle sending requests in parallel
- A convenience client with HTTP method names as class methods
- Emulator, decorator layers for sync/async clients## Documentation
Please see the [official documentation](http://docs.php-http.org/en/latest/components/client-common.html).
## Testing
``` bash
$ composer test
```## Contributing
Please see our [contributing guide](http://docs.php-http.org/en/latest/development/contributing.html).
## Security
If you discover any security related issues, please contact us at [[email protected]](mailto:[email protected]).
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.