Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Latest commit

 

History

History
61 lines (42 loc) · 2.04 KB

README.md

File metadata and controls

61 lines (42 loc) · 2.04 KB

CacheFallback

Latest Version on Packagist Software License Build Status Total Downloads Code Quality

Package for falling back cache drivers if current is not available.

Be advised that if the last driver fails, normal laravel Error is thrown

Usage

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"

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Credits

License

The Apache license Version 2.0. Please see License File for more information.