jampire / moonshine-impersonate
MoonShine 管理面板的用户 impersonate 功能
v2.0.3
2024-04-28 06:59 UTC
Requires
- php: ^8.1|^8.2|^8.3
Requires (Dev)
- driftingly/rector-laravel: ^0.20.0
- laravel/pint: ^1.10
- moonshine/changelog: ^1.0
- moonshine/moonshine: ^2.0
- nunomaduro/collision: ^7.5
- nunomaduro/larastan: ^2.0
- orchestra/testbench: ^8.5
- pestphp/pest: ^2.6
- pestphp/pest-plugin-laravel: ^2.0
- pestphp/pest-plugin-type-coverage: ^2.5
- rector/rector: ^0.16.0
Suggests
- moonshine/changelog: Allows storing impersonate actions in the database
Conflicts
README
MoonShine 管理面板的用户 impersonate 功能
简介
此软件包为 MoonShine 管理面板提供 impersonate(用户切换)功能。用户 impersonate 允许管理员以该用户登录并操作。这在很多情况下都很有用,例如,当您收到一个错误报告或问题,并希望看到用户看到的确切内容时,impersonate 他们可以节省大量时间,因为您可以看到他们看到的确切内容。
兼容性
安装
使用 composer
安装 MoonShine Impersonate
软件包
composer require jampire/moonshine-impersonate
此软件包专为 MoonShine 设计,仅在此环境中工作。您首先需要安装它。请阅读有关如何安装和配置 MoonShine 的文档。
配置
此软件包使用默认配置即可直接使用。但您可以将 impersonate.php
配置文件发布出来,并根据您的需求进行修改。
php artisan vendor:publish --provider="Jampire\MoonshineImpersonate\ImpersonateServiceProvider" --tag=config
使用方法
您可以在这里找到软件包的文档。
贡献
感谢您考虑为 MoonShine Impersonate
项目做出贡献!您可以在这里阅读贡献指南。
行为准则
请阅读并遵守行为准则。
鸣谢
许可证
MoonShine Impersonate
是开源软件,根据MIT 许可证授权。