shiftechafrica/laravel-multiple-guards
auth guard to include additional guards (e.g., api, vendor) without modifying core logic, enabling granular permission management.Adopt When:
Look Elsewhere If:
"This package lets us unify multiple authentication systems (e.g., users, admins, API keys) in Laravel with minimal dev effort. Instead of building custom guards—which adds risk and tech debt—we can leverage a lightweight, MIT-licensed solution to accelerate features like our [B2B marketplace] or [admin dashboard]. It’s a low-cost way to standardize security across our app, reducing bugs and speeding up releases. The trade-off? We’ll monitor its stability closely, but the upside is faster delivery of critical auth flows."
*"This solves our pain point of managing N+1 guards (e.g., users, vendors, api) without duplicating auth logic. Key benefits:
Auth::guard() calls).Auth::guard() under the hood).*"This package doesn’t introduce new security risks—it’s a wrapper around Laravel’s built-in guards. We’d need to:
How can I help you explore Laravel packages today?