2017 © Pedro Peláez
 

library redis-adapter

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

image

cache/redis-adapter

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

  • Wednesday, June 6, 2018
  • by Nyholm
  • Repository
  • 2 Watchers
  • 18 Stars
  • 160,826 Installations
  • PHP
  • 9 Dependents
  • 9 Suggesters
  • 4 Forks
  • 0 Open issues
  • 9 Versions
  • 13 % Grown

The README.md

Redis PSR-6 Cache pool

Gitter Latest Stable Version codecov.io Total Downloads Monthly Downloads Software License, (*1)

This is a PSR-6 cache implementation using Redis. It is a part of the PHP Cache organisation. To read about features like tagging and hierarchy support please read the shared documentation at www.php-cache.com., (*2)

This implementation is using PhpRedis. If you want an adapter with Predis you should look at our Predis adapter., (*3)

Install

composer require cache/redis-adapter

Use

To create an instance of RedisCachePool you need to configure a \Redis, \RedisArray or \RedisCluster client., (*4)

\Redis, (*5)

$client = new \Redis();
$client->connect('127.0.0.1', 6379);
$pool = new RedisCachePool($client);

\RedisArray, (*6)

$client = new \RedisArray(['127.0.0.1:6379', '127.0.0.2:6379']);
$pool = new RedisCachePool($client);

\RedisCluster, (*7)

$client = new \RedisCluster(null, ['127.0.0.1:7000', '127.0.0.2:7001', '127.0.0.2:7002',]);
$pool = new RedisCachePool($client);

See PhpRedis for more connection options, (*8)

Contribute

Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker., (*9)

The Versions

06/06 2018

dev-master

9999999-dev http://www.php-cache.com/en/latest/

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

  Sources   Download

MIT

The Requires

 

The Development Requires

cache redis tag psr-6 phpredis

16/07 2017

1.0.0

1.0.0.0 http://www.php-cache.com/en/latest/

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

  Sources   Download

MIT

The Requires

 

The Development Requires

cache redis tag psr-6 phpredis

13/03 2017

0.5.0

0.5.0.0 http://www.php-cache.com/en/latest/

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

  Sources   Download

MIT

The Requires

 

The Development Requires

cache redis tag psr-6 phpredis

07/08 2016

0.4.2

0.4.2.0 http://www.php-cache.com/en/latest/

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

  Sources   Download

MIT

The Requires

 

The Development Requires

cache redis tag psr-6 phpredis

01/03 2016

0.4.1

0.4.1.0 http://www.php-cache.com/en/latest/

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

  Sources   Download

MIT

The Requires

 

The Development Requires

cache redis tag psr-6 phpredis

25/02 2016

0.4.0

0.4.0.0 http://www.php-cache.com

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

  Sources   Download

MIT

The Requires

 

The Development Requires

cache redis tag psr-6 phpredis

19/01 2016

0.3.0

0.3.0.0 https://github.com/php-cache/redis-adapter

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

  Sources   Download

MIT

The Requires

 

The Development Requires

cache redis tag psr-6 phpredis

14/01 2016

0.2.0

0.2.0.0 https://github.com/php-cache/redis-adapter

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

  Sources   Download

MIT

The Requires

 

The Development Requires

cache redis tag psr-6 phpredis

07/01 2016

0.1.0

0.1.0.0 https://github.com/php-cache/redis-adapter

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

  Sources   Download

MIT

The Requires

 

The Development Requires

cache redis tag psr-6 phpredis