cache/predis-adapter
最新稳定版本:1.2.0
Composer 安装命令:
composer require cache/predis-adapter
包简介
A PSR-6 cache implementation using Redis (Predis). This implementation supports tags
README 文档
README
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.
Install
composer require cache/predis-adapter
Use
To create an instance of PredisCachePool you need to configure a \Predis\Client object.
$client = new \Predis\Client('tcp:/127.0.0.1:6379'); $pool = new PredisCachePool($client);
Contribute
Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker.
统计信息
- 总下载量: 2.51M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 27
- 点击次数: 2
- 依赖项目数: 15
- 推荐数: 4
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-06