spatie/laravel-one-time-passwords
Generate and verify secure one-time passwords (6‑digit by default) in Laravel. Sends OTPs via mail notifications (extendable to SMS/other channels) and includes a Livewire login component. Optional Flux support provides an enhanced OTP input UI.
By default, the expiration time of a one-time password is 2 minutes. You can change this value by setting the default_expires_in_minutes key in the one-time-passwords config file.
How can I help you explore Laravel packages today?