Skip to content

reactphp-x/redis-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

reactphp-x-redis-cache

install

composer require reactphp-x/redis-cache -vvv

Usage

use Clue\React\Redis\RedisClient;
use ReactphpX\RedisCache\RedisCache;
$redis = new RedisClient('redis://:h%40llo@localhost');
// $redis = new RedisClient('redis://ignored:h%40llo@localhost');
// $redis = new RedisClient('redis://localhost?password=h%40llo');
// $redis = new RedisClient('redis://localhost/2');
// $redis = new RedisClient('redis://localhost?db=2');

$redisCache = new RedisCache($redis);

see CacheInterface

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages