laravel-sessiontimeout

A Middleware to help with session timeout because of user inactivity on a site/app built with Laravel 5

MIT License

Downloads
1.6K
Stars
10
Committers
1

A laravel session timeout middleware

This package is a very simple but useful for handling session timeouts due to user inactivity on a website/application

Installation

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,
];

Install

Via Composer

$ composer require unicodeveloper/laravel-sessiontimeout

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Package Rankings
Top 14.37% on Packagist.org
Badges
Extracted from project README
Latest Stable Version License Build Status Quality Score Total Downloads
Related Projects