Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 10 days 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-15T19:09:51.000Z (almost 5 years ago)
- Last Synced: 2024-10-26T02:30:44.130Z (about 2 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: [![Maintainability](https://api.codeclimate.com/v1/badges/74acc2c81db24cc8fb75/maintainability)](https://codeclimate.com/github/attogram/filesystem-cache/maintainability)
* Travis-CI: [![Build Status](https://travis-ci.org/attogram/filesystem-cache.svg?branch=master)](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
*
*
*
*
*
*
*
*
*
* ...