[READ-ONLY] Predis PSR-6 Cache pool
Clone or download
Failed to load latest commit information.
.gitattributes Adding changelog and gitattributes Jul 16, 2017
.gitignore Added all adapters Jan 31, 2016
.travis.yml Using better composer flags to speed up travis (#132) Jan 5, 2017
Changelog.md Update Changelogs (#200) Nov 13, 2017
LICENSE Updated licence info Dec 30, 2016
PredisCachePool.php cs fixes Jun 22, 2017
README.md Added travis.yml and codecov badge for all our libs (#99) Oct 17, 2016
composer.json fixed branch-aliases in composer.json (#218) Jun 6, 2018


Predis PSR-6 Cache pool

Gitter Latest Stable Version codecov.io Total Downloads Monthly Downloads Software License

This is a PSR-6 cache implementation using Predis. 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.

This implementation is using Predis. If you want an adapter with PhpRedis you should look at our Redis adapter.


composer require cache/predis-adapter


To create an instance of PredisCachePool you need to configure a \Predis\Client object.

$client = new \Predis\Client('tcp:/');
$pool = new PredisCachePool($client);


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