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...
651,963,193
9,701
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
429,221,767
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
407,699,310
4,663
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.1.3 | >=5.5.9 | >=5.2.0 | MIT | |
| 1.1.2 | >=5.5.9 | >=5.2.0 | MIT | |
| 1.1.1 | >=5.5.9 | >=5.2.0 | MIT | |
| 1.0.4 | >=5.5.9 | ~5.0| | MIT | |
| 1.0.2 | >=5.5.9 | >=5.0.0 | MIT | |
| 1.0.1 | >=5.5.9 | >=5.0.0 | MIT | |
| 1.0.0 | >=5.5.9 | >=5.0.0 | MIT |