Registry / database / amphp-redis

amphp-redis

JSON →
library2.0.4phppackagistunverified

Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.

composer require amphp/redis
INSTALL
IMPORT
SIG · AMPHP-REDIS
A
amphp-redis
databasephpv2.0.4
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.

RedisClient
use Amp\Redis\RedisClient;

Connects to a Redis server and retrieves a value asynchronously.

use Amp\Redis\RedisClient; $client = new RedisClient('tcp://localhost:6379'); $result = $client->get('key');
Debug
Known issues
breakingRequires the amphp/amp and amphp/socket packages, and PHP 8.1+.
fix
Install all required dependencies and ensure PHP version compatibility.
affects: >=2.0.0
Upgrade
Version history
2.0.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

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