Registry / networking / clue-socket-raw

clue-socket-raw

JSON →
library1.6.0phppackagistunverified

Simple and lightweight OOP wrapper for PHP's low-level sockets extension (ext-sockets).

composer require clue/socket-raw
INSTALL
IMPORT
SIG · CLUE-SOCKET-RAW
C
clue-socket-raw
networkingphpv1.6.0
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.

Factory
use Clue\Socket\Raw\Factory;

Create a TCP client socket and read data.

use Clue\Socket\Raw\Factory; $factory = new Factory(); $socket = $factory->createClient('tcp://example.com:80'); echo $socket->read(1024);
Debug
Known issues
breakingRequires ext-sockets extension enabled
fix
Install or enable the PHP sockets extension (ext-sockets) in your php.ini or via package manager.
affects: >=1.0.0
Upgrade
Version history
1.6.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
clue-socket-raw — pip install clue-socket-raw · libregistry