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
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Laravel Impersonate!