LaravelPackages.net
Acme Inc.
Toggle sidebar
calvinlam/laravel-multiple-cache-driver

Cache data to Redis and Database

1
0
About calvinlam/laravel-multiple-cache-driver

calvinlam/laravel-multiple-cache-driver is a Laravel package for cache data to redis and database. It currently has 0 GitHub stars and 1 downloads on Packagist. Install it with composer require calvinlam/laravel-multiple-cache-driver. Discover more Laravel packages by calvinlam or browse all Laravel packages to compare alternatives.

Last updated

Multiple Cache Driver

Cache your data to Redis and Database. Get your data from Redis unless its empty.

Requirement

  • Laravel 6.0+
  • Reids
  • MySQL

Installation

composer require 
  1. require the package
  2. add CacheServiceProvider to laravel providers in config/app.php.
  3. change your cache driver to multiple-driver in config/cache.php like
'stores' => [
    'redis' =>[
        'driver' => 'multiple-driver',
        ...
    ],
],
Comments