This is a fork of fingo/laravel-cache-fallback for maintaining compatibility with Laravel.
Package for falling back cache drivers if current is not available.
Be advised that if the last driver fails, normal laravel Error is thrown
Add fallback provider to config/app.php
Fingo\LaravelCacheFallback\CacheFallbackServiceProvider::class,
Default fallback order is: redis, memcached, database, cookie, file, array
If needed to change fallback order, publish vendors
php artisan vendor:publish --provider="Fingo\LaravelCacheFallback\CacheFallbackServiceProvider"
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING for details.
The Apache license Version 2.0. Please see License File for more information.