jampire / moonshine-impersonate
User Impersonation for MoonShine admin panel
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
User Impersonation for MoonShine admin panel
Introduction
This package provides Impersonation (user switch) capability to MoonShine admin panel. User Impersonation allows Administrators to access and operate as if they were logged in as that User. This is handy for many reasons, for example, when you get a bug report or an issue and want to see exactly what the user sees, impersonating them saves lots of time because you can see exactly what they see.
Compatibility
Installation
Use composer
to install MoonShine Impersonate
package:
composer require jampire/moonshine-impersonate
This package is designed to work in MoonShine only. You first need to install it. Please, read the documentation on how install and configure MoonShine.
Configuration
This package works out of the box with default configuration. But you can publish impersonate.php
config file
and tweak it to your desire:
php artisan vendor:publish --provider="Jampire\MoonshineImpersonate\ImpersonateServiceProvider" --tag=config
Usage
You can find the package documentation here.
Contributing
Thank you for considering contributing to MoonShine Impersonate
project! You can read the contribution guide here.
Code of Conduct
Please review and abide by the Code of Conduct.
Credits
License
MoonShine Impersonate
is open-sourced software licensed under the MIT license.