rickyj / nova-stop-impersonation
Stop Nova impersonation from your front-end
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- illuminate/support: ^8.83.4|^9.3.1|^10.0|^11.0
Requires (Dev)
- laravel/nova: ^4.0
This package is auto-updated.
Last update: 2025-05-27 12:57:50 UTC
README
Laravel Nova provides an easy way for you to start impersonating a User in your application. Unfortunately, the only way to stop impersonating and return to your account is via Nova. If the User you're impersonating doesn't have access to Nova, then you need to sign out and reauthenticate.
We can make this easier!
This package contains a Blade component that can be added to any Laravel application to add a quick way to switch back to your User from your application frontend - no need to sign out or return to Nova.
Installation
Install using Composer:
composer require rickyj/nova-stop-impersonation
Basic usage
This package registers a Blade component that can be added to your application's layout file:
<x-stop-impersonation />
Customization
Package configuration and views can be published via php artisan vendor:publish
.
Environments
The environments in which this component appears can be altered via the package configuration. Simply update the environments
array with your desired environment targets:
'environments' => [ 'local', + 'staging', + 'production', ]
Credits
License
The MIT License (MIT). Please see License File for more information.