smony/filament-user-sessions

View all active user sessions and force-logout any user from your Filament admin panel.

Maintainers

Package info

github.com/Smony/filament-user-sessions

pkg:composer/smony/filament-user-sessions

Transparency log

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v2.0.1 2026-07-03 02:05 UTC

This package is auto-updated.

Last update: 2026-07-03 02:07:15 UTC


README

Latest Version Total Downloads License

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 the sessions table, so file/cookie/array drivers won't work)
  • Filament v4

Still on Filament v3? Use composer require smony/filament-user-sessions:^1.0 instead.

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