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.example
to a.env
file. - Update
DB_DATABASE
,DB_USERNAME
andDB_PASSWORD
with your database details. - Sign up for an account on Mailtrap and copy the SMTP
username
andpassword
and update theMAIL_USERNAME
andMAIL_PASSWORD
with the same on your.env
file. - Run
php artisan migrate
to migrate the database. - Run
php artisan key:generate
to generateAPP_KEY
. - You're all good to go. Run
php artisan serve
and the app should be up and running.