evo-mark/laravel-impersonate
Impersonate Laravel users in one click. Add a trait to your User model to start/stop impersonation, with authorization hooks, middleware, events, Blade helpers, and configurable strategies. Supports Laravel 10–11 and PHP 8.2+.
take_redirect_to and leave_redirect_to config optionsFORKED FROM LAB404 TO EVOMARK
Illuminate\Contracts\Auth\Authenticatable@getAuthIdentifier instead of Illuminate\Database\Eloquent\Model@getKey #96Illuminate\Contracts\Auth\Authenticatable instead of Illuminate\Database\Eloquent\Model #92ImpersonateManagersymfony/http-foundation (CVE-2019-18888)can_impersonate() helperis_impersonating(), can_impersonate() and can_be_impersonated() helpersgetSessionKey() in take() methodcanBeImpersonated (#12)How can I help you explore Laravel packages today?