scheb/2fa-google-authenticator
Adds Google Authenticator-based two-factor authentication (TOTP) to Symfony apps. Generates QR codes and secrets, validates one-time codes, and plugs into your login flow to improve account security with minimal setup.
For Executives: "This Laravel package lets us add Google Authenticator 2FA in weeks—not months—without hiring extra security engineers. It’s a low-cost way to lock down user accounts, reduce fraud risk, and meet compliance needs. Since it’s open-source and MIT-licensed, we avoid vendor lock-in while still getting enterprise-grade security. We can start with optional 2FA for admins and scale it to all users later. The tradeoff? Users need a smartphone, but that’s true for 90% of our target market."
For Engineering: *"scheb/2fa-google-authenticator is a drop-in extension for Laravel’s existing auth system. It handles TOTP generation, QR code setup, and verification with minimal boilerplate. Key benefits:
scheb/2fa-bundle supports multiple 2FA methods, so we can add SMS or hardware keys later.
Downside: We’ll need to handle edge cases (e.g., lost devices, backup codes) ourselves, but the core logic is already solved."*For Security Teams: *"This package reduces attack surface by enforcing time-based one-time passwords (TOTP) without relying on SMS (which is vulnerable to SIM swapping). It’s auditable (MIT license) and integrates with Laravel’s logging. We’d need to:
How can I help you explore Laravel packages today?