lab404/laravel-impersonate
Laravel package that lets admins impersonate other users in a secure, reversible way. Start/stop impersonation via middleware and helpers, with session-based tracking and easy integration into your auth flow for debugging, support, and admin panels.
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?