| Install | |
|---|---|
composer require unicodeveloper/laravel-sessiontimeout |
|
| PHP: | >=5.5.9 |
This package is a very simple but useful for handling session timeouts due to user inactivity on a website/application
First, pull in the package through Composer.
"require": {
"unicodeveloper/laravel-sessiontimeout": "1.0.*"
}
Next you must add the Unicodeveloper\Http\Middleware\SessionTimeout to the kernel.
// app/Http/Kernel.php
...
protected $middleware = [
...
\Unicodeveloper\Http\Middleware\SessionTimeout::class,
];
Via Composer
$ composer require unicodeveloper/laravel-sessiontimeout
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.