Skip to content

Jampire/moonshine-impersonate

Repository files navigation

build downloads license release composer contributors contributors

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

MoonShine MoonShine Impersonate Currently supported
>= v1.52 and <= v1.57.4 <= v1.2.0 no
>= v1.58.0 >= v1.3.0 no
>= v2.0 >= v2.0 yes

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.

Other implementations