simexis/cache
Laravel 5 replace default cache
In "config/app.php" replace
- Illuminate\Cache\CacheServiceProvider::class,
with
- Simexis\Cache\CacheServiceProvider::class,
Usage
//set cache
\Cache::set('category.list', $categories);
//get cache
$categories = \Cache::get('category.list');
//delete cache
\Cache::forget('category.list');
//or
\Cache::forget('category.*'); // delete all cache where key is category.{somename}
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
634,760,849
9,707
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
408,553,772
609
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
387,976,821
4,658