Registry / http-client / php-http-socket-client

php-http-socket-client

JSON →
library2.4.0phppackagistunverified

Socket client for PHP-HTTP, providing a PSR-18 HTTP client implementation.

http-client
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.

use Http\Client\Socket\Client;

Send an HTTP request using the socket client.

use Http\Client\Socket\Client; $client = new Client(); $response = $client->sendRequest(new \Psr\Http\Message\Request('GET', 'http://example.com')); echo $response->getBody();
Debug
Known footguns
breakingRequires PHP 7.1 or higher.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
18 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
1
ahrefsbot
1
Resources