Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Session Manager Laravel Package

jetiradoro/laravel-session-manager

Manage active user sessions in Laravel using the database session driver. View current connections, detect inactive sessions (e.g., 10+ minutes), and force logout or destroy old sessions via an admin page. Includes install command, migrations, and publishable config/routes.

View on GitHub
Deep Wiki
Context7

Laravel Session Manager

This module allow manage users connected in own laravel app and force logout and destroy old sessions.

Installation

  1. With Composer : download files
composer require jetiradoro/laravel-session-manager
  1. Proceed to install module
> php artisan session-manager:install

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:

> php artisan vendor:publish --provider="\Jetiradoro\SessionManager\SessionManagerServiceProvider"

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

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope