fingo / laravel-session-fallback
Provides fallback mechanisms for session handlers
Installs: 2 258
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 2
Open Issues: 0
Requires
- php: ~5.6|~7.0
- illuminate/session: ~5.1
Requires (Dev)
- mockery/mockery: ^0.9.4
- orchestra/testbench: ^3.2.2
- phpunit/phpunit: ^5.2.9
This package is not auto-updated.
Last update: 2021-03-26 02:01:55 UTC
README
Package for falling back session 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\LaravelSessionFallback\SessionFallbackServiceProvider::class,
Default fallback order is: redis, memcached, cookie, file, array
If needed to change fallback order, publish vendors
php artisan vendor:publish --provider="Fingo\LaravelSessionFallback\SessionFallbackServiceProvider"
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.