attogram/filesystem-cache
Composer 安装命令:
composer require attogram/filesystem-cache
包简介
Filesystem-based cache system for PHP 7
README 文档
README
Filesystem-based cache system for PHP 7.
- Repository: https://github.com/attogram/filesystem-cache
- Packagist: https://packagist.org/packages/attogram/filesystem-cache
- CodeClimate:
- Travis-CI:
Usage
use Attogram\Filesystem\Cache; $cacheDirectory = '../cache/'; // must include trailing slash $cache = new Cache($cacheDirectory);
Functions
- public function exists(string $key): bool
- public function get(string $key)
- public function set(string $key, string $value): bool
- public function delete(string $key): bool
- public function age(string $key): int
Similar projects
- https://github.com/Gregwar/Cache
- https://github.com/cosenary/Simple-PHP-Cache
- https://github.com/jdorn/FileSystemCache
- https://github.com/php-cache/filesystem-adapter
- https://github.com/Wruczek/PHP-File-Cache
- https://github.com/saltybeagle/StaticCache
- https://github.com/sarahman/simple-filesystem-cache
- https://github.com/chrisullyott/simple-cache
- https://github.com/override2k/psr-cache
- ...
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-02-08