Download the PHP package jetiradoro/laravel-session-manager without Composer
On this page you can find all versions of the php package jetiradoro/laravel-session-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jetiradoro/laravel-session-manager
More information about jetiradoro/laravel-session-manager
Files in jetiradoro/laravel-session-manager
Package laravel-session-manager
Short Description Manage current sessions in laravel application
License MIT
Homepage https://github.com/jetiradoro/laravel-session-manager
Informations about the package laravel-session-manager
Laravel Session Manager
This module allow manage users connected in own laravel app and force logout and destroy old sessions.
Installation
-
With Composer : download files
- Proceed to install module
This process modify variables .env file, execute migrations and config params for fine work.
Now you can got to http://[url_your_app]/admin/current-connections and you looks sessions which are equal or more than 10 minutes without any request.
Customization
If you want custom propierties in this plugins you can publish files:
session-manager.php config file
You will can set:
- max time of inhactivity
- messages of transactions
- Custom routes for use.
Install process modify an add variables in your .env file, set SESSION_DRIVER to 'DATABASE' and add SM_ROUTES variable with a true value.
If you want change deafult routes you need set this variable to false, and modify session-manager.php config file to new routes.
This plugin uses vue.js and axios, in view layout load this libraries moreover necessary app.js file. If you want change main layout is necessary that you load app.js file