Registry / http-client / php-http-client-common

php-http-client-common

JSON →
library2.7.3phppackagistunverified

Common HTTP Client implementations and tools for HTTPlug

composer require php-http/client-common
INSTALL
IMPORT
SIG · PHP-HTTP-CLIENT-CO
P
php-http-client-common
http-clientphpv2.7.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HttpMethodsClient
use Http\Client\Common\HttpMethodsClient;

Create an HTTP client with convenience methods

use Http\Client\Common\HttpMethodsClient; use Http\Discovery\HttpClientDiscovery; use Http\Discovery\MessageFactoryDiscovery; $client = new HttpMethodsClient( HttpClientDiscovery::find(), MessageFactoryDiscovery::find() ); $response = $client->get('https://example.com');
Debug
Known issues
gotchaRequires an HTTP client adapter (e.g., Guzzle, cURL)
fix
Install php-http/guzzle6-adapter or similar
affects: >=2.0
Upgrade
Version history
2.7.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
1
Resources
php-http-client-common — pip install php-http-client-common · libregistry