Registry / networking / clue-redis-react

clue-redis-react

JSON →
library2.8.0phppackagistunverified

Async Redis client implementation, built on top of ReactPHP.

composer require clue/redis-react
INSTALL
IMPORT
SIG · CLUE-REDIS-REACT
C
clue-redis-react
networkingphpv2.8.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.

Client
use Clue\React\Redis\Client;

Asynchronously set and get a Redis key.

use Clue\React\Redis\Client; $loop = React\EventLoop\Factory::create(); $client = new Client($loop, 'localhost'); $client->set('key', 'value')->then(function () use ($client) { return $client->get('key'); })->then(function ($value) { echo $value; }); $loop->run();
Debug
Known issues
breakingRequires PHP 7.0+ and ReactPHP event loop.
fix
Install ReactPHP and ensure PHP 7.0+.
affects: <2.0.0
Upgrade
Version history
2.8.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
40
OpenAI (training)
1
Resources
clue-redis-react — pip install clue-redis-react · libregistry