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 Impersonate Laravel Package

xlite-dev/filament-impersonate

Filament plugin to switch between accounts without signing out. Supports linked accounts, impersonation with a switch-back banner, and environment-gated developer logins, plus an audit trail and a fluent per-panel API. Formerly xlite-dev/filament-impersonate.

View on GitHub
Deep Wiki
Context7
4.0.2

Fixed

  • banner(position: 'top') no longer covers the panel topbar: the page shell is pushed down and Filament's sticky topbar container and sidebar are re-anchored below the banner (Filament 4 and 5 selectors).
4.0.1

Fixed

  • ImpersonateAction threw SvgNotFound at render time: the plugin's icon set was registered with a hyphenated prefix, which blade-icons cannot resolve. The icon is now packstub:account:switcher-icon.
4.0.0

Renamed from xlite-dev/filament-impersonate and rebuilt around a shared session core. See UPGRADE.md.

Added

  • Linked accounts: HasLinkedAccounts trait, "Switch to" topbar menu, Linked accounts page (link an existing account, create a sub-account, rename, unlink, per-link password requirement).
  • Developer logins: one-click login buttons on the panel login page, gated by environment and by the plugin's user list.
  • Audit log: account_switches table and AccountSwitch model recording every switch with reason, panel, guard, IP and user agent.
  • AccountSwitching and AccountSwitched events.
  • AccountSwitcherPlugin with feature toggles and hooks: impersonation(), linkedAccounts(), developerLogins(), canImpersonateUsing(), canSwitchUsing(), createSubAccountUsing(), redirectTo(), logSwitches(), banner(), switcherRenderHook(), linkedAccountsPage().
  • AccountSwitcher service and facade.
  • PHPUnit test suite covering all three features.

Changed

  • Namespace is now Packstub\AccountSwitcher; ImpersonateAction lives in Packstub\AccountSwitcher\Filament\Actions.
  • Impersonation no longer depends on lab404/laravel-impersonate.
  • The "leave" route is now a POST inside the panel's authenticated route group (filament.{panel}.account-switcher.switch-back), CSRF-protected.
  • Redirect after a switch resolves to a panel the target account may access instead of a hard-coded /.
  • Config file renamed to packstub-account-switcher.php; guard, redirect_to and leave_middlewares keys were removed (the panel's guard and routes are used).

Removed

  • XliteDev\FilamentImpersonate\* classes, the filament-impersonate config/view namespaces, and the <x-filament-impersonate::banner /> component.
3.x

Filament v4/v5 support for the original xlite-dev/filament-impersonate plugin.

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.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel