Skip to content

packbackbooks/laravel-session-fallback

 
 

Repository files navigation

LaravelSessionFallback

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

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%