attogram / filesystem-cache
Filesystem-based cache system for PHP 7
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/attogram/filesystem-cache
Requires
- php: ^7
This package is auto-updated.
Last update: 2025-09-16 09:06:56 UTC
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
- ...