darkghosthunter/laraguard
Laraguard brings TOTP-based two-factor authentication to Laravel. It offers a dedicated auth guard, middleware, recovery codes, QR-code onboarding, and events, making it easy to secure logins with Google Authenticator-compatible codes.
Consider it when:
Look elsewhere when:
To executives: This is a small, MIT-licensed Laravel package that adds two-factor authentication — a recurring enterprise sales and compliance requirement — without introducing a third-party identity vendor. It can compress delivery of an MFA feature from a sprint to days and supports "data stays on-prem" positioning in security reviews. Key caveat: the project is archived and has not been updated since early 2022, so we should treat it as either (a) a short-term accelerator only if we accept maintenance ownership, or (b) a reference design for a small internal build. Recommendation: use Laravel's first-party Fortify for production; use Laraguard to accelerate scoping or as a fallback where version constraints allow.
To engineering: Minimal integration surface — TOTP enrollment, QR provisioning, recovery codes, rate limiting, and Fortify hooks. But it's archived and untested against current Laravel; adopting it means forking, patching, and owning security updates. If we adopt, budget for ongoing maintenance; if we don't, its patterns remain a useful blueprint. For new work, Fortify is the lower-risk default.
How can I help you explore Laravel packages today?