User impersonation support for Laravel Enso
laravel-enso/impersonate is a Laravel package for user impersonation support for laravel enso.
It currently has 8 GitHub stars and 59.806 downloads on Packagist (latest version 3.6.4).
Install it with composer require laravel-enso/impersonate.
Discover more Laravel packages by laravel-enso
or browse all Laravel packages to compare alternatives.
Last updated
Impersonate adds Enso user impersonation routes, middleware, and frontend boot state.
The package exposes start and stop impersonation endpoints, registers the impersonate middleware alias, and publishes an Impersonating state provider so the frontend can reflect the current session mode.
It is a focused authentication-adjacent package, not a full access-management system on its own.
Install the package:
composer require laravel-enso/impersonate
Run the package migrations:
php artisan migrate
The package mounts:
route('core.impersonate.start', ['user' => $user]);
route('core.impersonate.stop');
GET api/core/impersonate/{user}GET api/core/impersonate/stopimpersonateRequired Enso packages:
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!