Well, laravel has a dedicated folder to keep all your routes at once place. By default it has a api.php, channels.php, console.php and web.php.
Imagine your working on a bigger application with multiple modules and 100s of routes!
In this post, I would like to show you how easy it is to let user login with either registered email or phone number.
Make sure you add phone filed to create_users_table migration. In India phone numbers are of 10 digits long, and also…