Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Impersonate

Laravel Impersonate Laravel Package

lab404/laravel-impersonate

Easily add user impersonation to Laravel apps. Let admins securely “log in as” another user, switch back anytime, and control access with middleware, policies, and guards. Supports multi-auth setups and integrates cleanly with existing authentication.

View on GitHub
Deep Wiki
Context7

lab404/laravel-impersonate adds secure, lightweight user impersonation to Laravel apps—ideal for support teams, admins, and debugging sessions. It provides a clean API and middleware-driven flow to switch into another account and back again without custom auth glue.

  • Start/stop impersonation with a simple ImpersonateManager API
  • Built-in middleware to protect routes and control access
  • Helpers to check impersonation state and retrieve the impersonator
  • Configurable authorization via policies/guards for safe admin-only use
  • Seamless integration with Laravel’s authentication stack
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport