Registry / utility / cache-redis-adapter

cache-redis-adapter

JSON →
library1.2.0phppackagistunverified

A PSR-6 cache implementation using Redis (PhpRedis) with tag support.

composer require cache/redis-adapter
INSTALL
IMPORT
SIG · CACHE-REDIS-ADAPTE
C
cache-redis-adapter
utilityphpv1.2.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.

RedisCachePool
use Cache\Adapter\Redis\RedisCachePool;

Create a Redis cache pool and retrieve an item.

use Cache\Adapter\Redis\RedisCachePool; $client = new Redis(); $client->connect('127.0.0.1', 6379); $pool = new RedisCachePool($client); $item = $pool->getItem('key');
Debug
Known issues
breakingRequires PhpRedis extension
fix
Install the PhpRedis PHP extension (ext-redis).
affects: >=1.0.0
Upgrade
Version history
1.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
OpenAI (training)
1
Resources
cache-redis-adapter — pip install cache-redis-adapter · libregistry