24i / laravel-redis-fallback
Laravel 5 redis cache fallback to file
Installs: 14 197
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 26
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=7.0
- illuminate/cache: 5 - 8
- predis/predis: ^1.1
This package is not auto-updated.
Last update: 2025-03-07 06:28:50 UTC
README
If you use Redis as cache driver on Laravel 5 and for some reason Redis server became unavailable, you will end up with a Connection Refused exception. This package simply checks for the connection and if test fails, cache is switched to file driver. As soon as Redis come back it will be used again.