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.
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).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.Renamed from xlite-dev/filament-impersonate and rebuilt around a shared session core. See UPGRADE.md.
HasLinkedAccounts trait, "Switch to" topbar menu, Linked accounts page (link an existing account, create a sub-account, rename, unlink, per-link password requirement).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.Packstub\AccountSwitcher; ImpersonateAction lives in Packstub\AccountSwitcher\Filament\Actions.lab404/laravel-impersonate.POST inside the panel's authenticated route group (filament.{panel}.account-switcher.switch-back), CSRF-protected./.packstub-account-switcher.php; guard, redirect_to and leave_middlewares keys were removed (the panel's guard and routes are used).XliteDev\FilamentImpersonate\* classes, the filament-impersonate config/view namespaces, and the <x-filament-impersonate::banner /> component.Filament v4/v5 support for the original xlite-dev/filament-impersonate plugin.
How can I help you explore Laravel packages today?