https://github.com/unicodeveloper/laravel-sessiontimeout
:package: A Middleware to help with session timeout because of user inactivity on a site/app built with Laravel 5
https://github.com/unicodeveloper/laravel-sessiontimeout
Last synced: 8 months ago
JSON representation
:package: A Middleware to help with session timeout because of user inactivity on a site/app built with Laravel 5
- Host: GitHub
- URL: https://github.com/unicodeveloper/laravel-sessiontimeout
- Owner: unicodeveloper
- License: mit
- Created: 2015-11-23T02:57:19.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-23T05:04:38.000Z (about 10 years ago)
- Last Synced: 2025-05-07T17:14:02.279Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 10
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# A laravel session timeout middleware
[](https://packagist.org/packages/unicodeveloper/laravel-sessiontimeout)

[](LICENSE.md)
[](https://travis-ci.org/unicodeveloper/laravel-mentions)
[](https://scrutinizer-ci.com/g/unicodeveloper/laravel-sessiontimeout)
[](https://packagist.org/packages/unicodeveloper/laravel-sessiontimeout)
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.
```js
"require": {
"unicodeveloper/laravel-sessiontimeout": "1.0.*"
}
```
Next you must add the `Unicodeveloper\Http\Middleware\SessionTimeout` to the kernel.
```php
// app/Http/Kernel.php
...
protected $middleware = [
...
\Unicodeveloper\Http\Middleware\SessionTimeout::class,
];
```
## Install
Via Composer
``` bash
$ composer require unicodeveloper/laravel-sessiontimeout
```
## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Testing
``` bash
$ composer test
```
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Credits
- [Prosper Otemuyiwa](https://twitter.com/unicodeveloper)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.