Skip to content

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

License

Notifications You must be signed in to change notification settings

bvcuser/laravel-sessiontimeout

 
 

Repository files navigation

A laravel session timeout middleware

Latest Stable Version License Build Status Quality Score Total Downloads

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%