calvinlam / laravel-multiple-cache-driver
Cache data to Redis and Database
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/calvinlam/laravel-multiple-cache-driver
Requires
- php: ^5.6 || ^7.0
- illuminate/support: ^5.3
This package is auto-updated.
Last update: 2025-10-22 20:11:31 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', ... ], ],