spatie/laravel-one-time-passwords
Securely generate and consume one-time passwords in Laravel. Ships with notifications (email by default, extensible to SMS/other channels) and a ready-to-use Livewire login component. Optionally enhances the OTP input UI automatically when Flux is installed.
Adopt When:
Look Elsewhere If:
spatie/laravel-2fa instead).For Executives: "This package lets us add one-time passwords (OTP) to our Laravel app in hours—not months—by leveraging Spatie’s proven, open-source solution. It’s a cost-effective way to boost security for high-risk actions (e.g., payments, admin access) while meeting compliance needs. With minimal dev effort, we can reduce credential-based breaches and improve user trust. Think of it as ‘set-and-forget’ MFA that scales with our growth."
For Engineering: *"Spatie’s OTP package is a lightweight, Laravel-native way to implement SMS/email-based one-time passwords. Key benefits:
How can I help you explore Laravel packages today?