Skip to content

dmitry-suffi/redis-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis cache

Build Status Coveralls

Description

Simple caching radis. Complies psr-6.

It requires expansion phpredis.

Installation

composer require dmitry-suffi/redis-cache

Using

$redis = new Redis();
if ($redis->connect('11.111.111.11', 6379) && $redis->select(0)) {
    $cache = new CacheItemPool($redis);
}