trt/doctrine-encrypted-cache
最新稳定版本:v0.2
Composer 安装命令:
composer require trt/doctrine-encrypted-cache
包简介
Doctrine Encrypted Cache Drivers
README 文档
README
Sometimes for security constraints may not be possible to store plain data to the web server or cache server. This library allows to encode / decode doctrine cached data.
Usage
$doctrineCache = new \Doctrine\Common\Cache\ApcCache(); $encodedCache = new \Trt\Doctrine\Cache\Provider\CacheProviderDecorator( $doctrineCache, new \Trt\Doctrine\Cache\Encryptor\Encryptor('my_key') ); $encodedCache->save('id', .... ); $encodedCache->fetch('id');
统计信息
- 总下载量: 1.6k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-17