Registry / http-client / psr-http-client

psr-http-client

JSON →
library1.0.3phppackagistunverified

Common interface for HTTP clients

composer require psr/http-client
INSTALL
IMPORT
SIG · PSR-HTTP-CLIENT
P
psr-http-client
http-clientphpv1.0.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.

ClientInterface
use Psr\Http\Client\ClientInterface;

Using a PSR-18 HTTP client interface.

use Psr\Http\Client\ClientInterface; // Implement or use a PSR-18 compatible client $client = new SomePsr18Client(); $response = $client->sendRequest($request);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Resources
psr-http-client — pip install psr-http-client · libregistry