Registry / networking / clue-redis-protocol

clue-redis-protocol

JSON →
library0.3.2phppackagistunverified

A streaming Redis protocol (RESP) parser and serializer written in pure PHP.

composer require clue/redis-protocol
INSTALL
IMPORT
SIG · CLUE-REDIS-PROTOCO
C
clue-redis-protocol
networkingphpv0.3.2
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.

ParserInterface
use Clue\Redis\Protocol\Parser\ParserInterface;

Parse Redis RESP protocol messages

<?php require 'vendor/autoload.php'; use Clue\Redis\Protocol\Parser\ParserInterface; use Clue\Redis\Protocol\Parser\Parser; $parser = new Parser(); $result = $parser->push("*1\r\n$4\r\nPING\r\n");
Debug
Known issues
gotchaThis is a low-level protocol library; not a full Redis client.
fix
Use a higher-level client like clue/redis-react for typical Redis operations.
affects: >=0.3.0
Upgrade
Version history
0.3.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
clue-redis-protocol — pip install clue-redis-protocol · libregistry