rickyj/nova-stop-impersonation
Composer 安装命令:
composer require rickyj/nova-stop-impersonation
包简介
Stop Nova impersonation from your front-end
README 文档
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.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-13
