calvinlam / laravel-multiple-cache-driver
Cache data to Redis and Database
Package info
github.com/calvinlam0124/laravel-multiple-cache-driver
pkg:composer/calvinlam/laravel-multiple-cache-driver
dev-master
2020-09-22 09:06 UTC
Requires
- php: ^5.6 || ^7.0
- illuminate/support: ^5.3
This package is auto-updated.
Last update: 2026-02-22 21:02:37 UTC
README
Cache your data to Redis and Database. Get your data from Redis unless its empty.
Requirement
- Laravel 6.0+
- Reids
- MySQL
Installation
composer require
- require the package
- add
CacheServiceProviderto laravel providers inconfig/app.php. - change your cache driver to
multiple-driverinconfig/cache.phplike
'stores' => [ 'redis' =>[ 'driver' => 'multiple-driver', ... ], ],