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.
Using this package, you can securely create and consume one-time passwords. By default, a one-time password is a number of six digits long.
The package provides easy-to-use methods to build the one-time password login flow you want. It also provides a Livewire component to allow users to login using a one-time password.
The package tries to make one-time passwords as secure as can be by:
How can I help you explore Laravel packages today?