User sessions
CommunityView active user sessions, inspect login details, and revoke access in one click.
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Author:
Smony
Documentation
See every active session across your app — who's logged in, from where, on what device — and force-logout anyone with one click, right from your Filament admin panel.
#Requirements
- Laravel with
SESSION_DRIVER=database(this plugin reads thesessionstable, so file/cookie/array drivers won't work) - Filament v4
Still on Filament v3? Use
composer require smony/filament-user-sessions:^1.0instead.
#Installation
composer require smony/filament-user-sessions
Make sure you have the sessions table migration (Laravel ships one, or generate it):
php artisan session:table
php artisan migrate
Register the plugin in your Panel Provider:
use Smony\FilamentUserSessions\FilamentUserSessionsPlugin;
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugin(FilamentUserSessionsPlugin::make());
}
#What you get
- A Sessions page listing every active session: user, IP address, parsed device/browser, last activity
- An "Online now" stat widget
- A Revoke action to instantly force-logout any session (except your own current one)
- Bulk revoke for cleaning up stale sessions
#Configuration
Optionally publish the config to change the sessions table name or the "online" threshold:
php artisan vendor:publish --tag=filament-user-sessions-config
#License
MIT
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle