Download the PHP package hapidjus/laravel-impersonate-ui without Composer
On this page you can find all versions of the php package hapidjus/laravel-impersonate-ui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hapidjus/laravel-impersonate-ui
More information about hapidjus/laravel-impersonate-ui
Files in hapidjus/laravel-impersonate-ui
Package laravel-impersonate-ui
Short Description UI for 404labfr/laravel-impersonate
License MIT
Homepage https://github.com/hapidjus/laravel-impersonate-ui
Informations about the package laravel-impersonate-ui
Laravel Impersonate UI
Laravel Impersonate UI is a Laravel Package that adds an easy to use UI for selecting users to impersonate when using https://github.com/404labfr/laravel-impersonate
Requirements
- Laravel >= 6.1
- PHP >= 7.1
Installation
-
Require laravel-impersonate-ui with Composer
- Add the Trait
Lab404\Impersonate\Models\Impersonate
to your User model.
Configuration
To publish the config and blade files use:
Append --tag=config
or --tag=view
to only publish config or blade files.
This is the contents of the config file:
Partials view:
You can use the partials view to include the Impersonate UI on any pages you want. Note: If you choose to include the partials view you need to add a check to test if the current users is allowed to impersonate
Have fun impersonating.
Do not use in production!
All versions of laravel-impersonate-ui with dependencies
laravel/framework Version ^7.0|^8.0|^9.0|^10.0
lab404/laravel-impersonate Version ~1.7