https://github.com/attogram/filesystem-cache
Filesystem-based cache system for PHP 7.
https://github.com/attogram/filesystem-cache
cache caching-library filesystem-cache php7
Last synced: about 2 months ago
JSON representation
Filesystem-based cache system for PHP 7.
- Host: GitHub
- URL: https://github.com/attogram/filesystem-cache
- Owner: attogram
- License: mit
- Created: 2020-02-08T11:20:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-15T19:09:51.000Z (over 5 years ago)
- Last Synced: 2025-02-06T09:14:39.059Z (4 months ago)
- Topics: cache, caching-library, filesystem-cache, php7
- Language: PHP
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# filesystem-cache
Filesystem-based cache system for PHP 7.
* Repository:
* Packagist:
* CodeClimate: [](https://codeclimate.com/github/attogram/filesystem-cache/maintainability)
* Travis-CI: [](https://travis-ci.org/attogram/filesystem-cache)## Usage
```php
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
*
*
*
*
*
*
*
*
*
* ...