This is a code base for the Youtube video where I show how we can use the Spatie One-time password pacakge to implement OTP based login in our application.
For demo purpose, we have implemented the OTP functionality inside a Laravel React starter kit application and modified the default Login functionality.