This repository contains code discussed in the blog post here: https://shamil.xyz/email-verification-with-laravel-5-5/
If you want to run this demo project, follow these steps:
- Clone this repo.
- Copy contents of
.env.exampleto a.envfile. - Update
DB_DATABASE,DB_USERNAMEandDB_PASSWORDwith your database details. - Sign up for an account on Mailtrap and copy the SMTP
usernameandpasswordand update theMAIL_USERNAMEandMAIL_PASSWORDwith the same on your.envfile. - Run
php artisan migrateto migrate the database. - Run
php artisan key:generateto generateAPP_KEY. - You're all good to go. Run
php artisan serveand the app should be up and running.