use Waran\Cache;
$cache = new Cache;
if(!$cache->read('cache_name'))
{
$cache->write('cache_name', 'cache_data'));
}
Waran Cache is a simple cache class that saves your data in individual files.
composer require brysemeijer/cache 1.0.x-dev
- automatic type detection (e.g. array, json, raw, etc.)
- travis-ci, scrutinizer, packaist images...
This project is open-sourced software licensed under the MIT license