php-http/client-common
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
php-http/httplug | 2.4.0 | 10.2 kB | MIT | prod | |
php-http/message | 1.16.1 | - | MIT | prod | |
psr/http-client | 1.0.3 | - | MIT | prod | |
psr/http-factory | 1.1.0 | - | MIT | prod | |
symfony/options-resolver | v7.0.7 | - | MIT | prod | |
symfony/polyfill-php80 | v1.29.0 | - | MIT | prod |
The php-http/client-common is a tool that provides common implementations and resources for HTTP clients. It's part of the HTTPlug project and is particularly designed to handle tasks such as sending requests in parallel and providing convenience features like HTTP method names as class methods. The package also includes emulator and decorator layers designed specifically for syncing and managing asynchronous clients.
To use the php-http/client-common package, you need to install it using Composer. Open your terminal and type:
$ composer require php-http/client-common
Once installed, you can utilize various tools for common HTTP client tasks included in the package. These include BatchClient, a tool for sending parallel requests, and Emulator, which is used to create decorator layers for sync/async clients.
The official documentation for the php-http/client-common package is available on the HTTPlug project website. You can delve into a more detailed exploration of the package and how to use its resources effectively by visiting the official documentation. This documentation provides a comprehensive guide on how to use and contribute to the project and ensures you can maximize the potential of this powerful PHP HTTP client tool.