Weave 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

Filament User Sessions Laravel Package

smony/filament-user-sessions

Filament plugin that lists every active user session—user, IP, parsed device and browser, last activity—with one-click and bulk revoke to force-logout anyone. Flags logins from new devices. Requires Laravel's database session driver.

View on GitHub
Deep Wiki
Context7
v2.3.0

Release body:

Added

  • New device detection — sessions are flagged (⚠️) in the Sessions
    table when their browser/platform combination was first seen for that
    user within the last 24 hours (configurable via new_device_window_hours).
    Backed by a new session_known_devices table that persists across
    logout, unlike the sessions table itself.
  • New device notifications — the first time (and only the first time)
    a device is seen for a user, configured recipients are notified via
    Smony\FilamentUserSessions\Notifications\NewDeviceLogin. The package
    doesn't know who your admins/security team are, so this is opt-in:
    implement Smony\FilamentUserSessions\Contracts\ResolvesNewDeviceRecipients
    and point new_device_notification_recipients at it. Disabled (no-op)
    until configured.

Requires

```bash
php artisan migrate
```
to create the new session_known_devices table.

No breaking changes — existing installs behave identically until you
opt into the new config.

v2.2.0

Added

  • Smony\FilamentUserSessions\Policies\SessionPolicy — a default,
    fully-permissive policy for the Session model.
  • Revoke actions (single + bulk) and the "Online now" widget now
    respect Laravel policy authorization (viewAny, view, delete,
    deleteAny).

Host apps can now restrict who can view or revoke sessions by
registering their own policy:

```php
Gate::policy(Session::class, YourSessionPolicy::class);
```

Default behavior is unchanged — if you don't register your own
policy, nothing changes for you.

No breaking changes.

v2.1.0

"Added:

  • Support for Filament v5 (constraint widened to `^4.0|^5.0`) — no breaking changes, resolves #1, #2
v2.0.2

Fixed:

  • Bulk "Revoke selected" action no longer force-logs-out your own current session — it's now excluded from the batch, matching the behavior of the single revoke action.

Full Changelog: https://github.com/Smony/filament-user-sessions/compare/v2.0.1...v2.0.2

v2.0.1

Fixed

  • Fatal error on Filament v4: $navigationIcon/$navigationGroup now use
    the correct BackedEnum/UnitEnum union types required by
    Filament\Resources\Resource.
v1.0.0

Initial release: session list with device/browser detection, revoke action, bulk revoke, online-now widget

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.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle