Laravel Impersonate makes it easy to authenticate as your users. Add a simple trait to your user model and impersonate as one of your users in one click. By default all users can impersonate a user. You need to add the method canImpersonate() to your user model. You can use the middleware impersonate.protect to protect your routes against user impersonation. This middleware can be useful when you want to protect specific pages like users subscriptions, users credit cards, etc,
Features
- Impersonation authorization
- Use your own strategy
- Protect From Impersonation
- Impersonate a user
- Leave impersonation
- Use the built-in controller
Categories
User ManagementFollow Laravel Impersonate
Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud
Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Laravel Impersonate!