404labfr/laravel-impersonate
Laravel Impersonate is a plugin that allows you to authenticate as your users. observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 72
- Release rhythm 43
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 223.0
- age_days: 3491
- days_rel: 169
- days_push: 169
- n_releases_24m: 3
Adoption not part of the score
2340 stars · 237 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Laravel package that lets authenticated users (typically admins) impersonate other users of the application with a single method call or route. It provides a trait for user models, route macros, middleware, events, and Blade directives to manage impersonation sessions.
Use cases
- impersonate a user to debug their account issues
- log in as another user to reproduce a reported bug
- let support staff view the app as a specific customer
- add one-click 'login as user' functionality to an admin panel
- restrict which users can impersonate others with authorization rules
- support multi-guard impersonation for admin and web sessions
When to choose
- you run a Laravel app and need admin user-impersonation for support or debugging
- you want a battle-tested package with route macros, middleware, and events out of the box
- you need fine-grained control over who can impersonate whom
When to avoid
- you are not using Laravel or PHP
- you need session-independent token-based impersonation for APIs rather than web sessions
- your security policy forbids admins from accessing user accounts
Facets
library · maturity active
auth middleware routing web-development backend developer-tools php laravel-package impersonation user-management user-switching debugging laravel
2 sources
- readme: https://github.com/404labfr/laravel-impersonate · fetched 2026-08-28 · 0a1597ebe2d2
- homepage: https://marceau.casals.fr · fetched 2026-08-29 · 27466c5346eb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| 404labfr/laravel-impersonate | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="404labfr/laravel-impersonate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem