level-2/simplecache
Composer 安装命令:
composer require level-2/simplecache
包简介
A very simple ArrayAccess based file ache
关键字:
README 文档
README
A very simplistic file cache that uses the ArrayAcces interface
Usage
- Include SimpleCache.php in your project
require_once 'SimpleCache\SimpleCache.php';
- Instantiate the SimpleCache class and provide a cache directory
$cache = new \SimpleCache\SimpleCache('./tmp');
- Use the
$cacheobject like any array. Index names will be created as files. When you run the script again the index will still have the value you assigned it.
统计信息
- 总下载量: 374
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2015-09-15