Skip to content

Stop impersonating Users via Laravel Nova from the front end.

License

Notifications You must be signed in to change notification settings

rickyjohnston/nova-stop-impersonation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stop Impersonation for Laravel Nova

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.

Package in action

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.

About

Stop impersonating Users via Laravel Nova from the front end.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published