bmatovu/multi-auth
Laravel MultiAuth simplifies authenticating multiple user types—such as admins and customers—with separate guards, providers, and tables. Configure guards, protect routes with middleware, and manage independent logins for each user model without conflicts.
bmatovu/multi-auth as an authentication accelerator and reference implementation, not a strategic platform dependency. Its value is reducing time-to-prototype for Laravel apps that need separate actor populations—admin, vendor, customer—using Laravel’s native guard/provider model. The v12.1.0 release (Laravel 11 support) improves the package's viability signal but does not change this framing.User model with role-based authorization. If the product already standardizes on one identity with roles, this package adds parallel identity tables and guard complexity rather than simplifying.illuminate/* ranges), and is Laravel 12 on the roadmap? Does it support Laravel’s native verification, password reset, remember-me, rate limiting, and session behavior? Can it coexist with an existing User table and role/permission package? Does it support Sanctum/Passport or only session guards? What test coverage and security posture exist? Did v12.1.0 change any config, migration, or route signatures that would affect a Laravel 10 → 11 upgrade (semver suggests minor, but verify)? What is the upgrade path when Laravel majors change—and how quickly does the maintainer historically ship support? Who owns maintenance if the maintainer stops? What is the rollback plan?/admin and /customer. The v12.1.0 release makes Laravel 11 a first-class target, so greenfield projects should standardize on 11 rather than pinning to 10 for package compatibility reasons. Poor fit remains API-first product, SSO enterprise deployment, or a mobile/SPA client where token issuance and centralized identity should dominate. If the app already uses Breeze, Jetstream, Fortify, or Laravel UI, avoid stacking another auth scaffold on top; use this package selectively or copy its patterns.User guard, map or dual-write identities only where necessary, and migrate routes incrementally. Prefer copying generated scaffolding into application code and removing the package dependency after stabilization if the package is scaffolding-oriented.config/auth.php, existing middleware aliases, route names, password brokers, notification classes, and model namespaces—even a minor release can ship config or stub changes. Re-publish or diff published assets against v12.1.0 rather than assuming they are unchanged. Test email verification, password reset, remember-me, logout across guards, and redirect behavior per guard.How can I help you explore Laravel packages today?