lab404/laravel-impersonate
Laravel Impersonate lets administrators log in as any user for support and debugging. It offers Blade directives, middleware, and guard helpers to safely start and stop impersonation without passwords, supporting multiple guards while keeping the original session recoverable.
Laravel 11.x support, thanks to erikn69
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() helpergetSessionKey() in take() methodis_impersonating(), can_impersonate() and can_be_impersonated() helpersHow can I help you explore Laravel packages today?