Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

How to Verify an Email in Laravel?

Spread the Knowledge

How to Verify an Email in Laravel?

Step 1. Create a new Project in Laravel, so Open git Bash. Write down the following command:-

$ composer create-project --prefer-dist laravel/laravel Emailverify "5.8.*"

Step 2. Now, Move to project directory on git Bash, so write down the following command:-

$ cd emailverify

Step 3. So, we have to Create a new Database. Go to XAMPP server->phpMyAdmin->Click New Database-> emailverify.

Mysql Database connection Laravel

Step 4.  Now, Go to .env file to set the project path and give the project APP_URL, DB_DATABASE name and DB_USERNAME name.

Step 5. Create the user authentication scaffolding. Write down the following command:-

$ php artisan make:auth

Step 6. Go to app\Providers\AppServicesProvider.php and write down the following code:-

 public function register()
use Illuminate\Support\Facades\Schema;

Step 7. Thereafter, Migrate tables into the MySQL databaseWrite the following command within git Base.

$ php artisan migrate

Step 8. Implement the MustVerifyEmail feature in User Model.

Step 9. Go to routes/web.php file and write down the following code:-

Route::get('/home', 'HomeController@index')->name('home')->middleware('verified');

Step 11. Open this link and login with your Google account.

Step 12. Click the demo inbox link.

Step 12. Copy port, username , password and paste in .env file.

Step 13. Firstly, You have to register, then log in your project.

Step 14. Now, you can see that it’s asking for email verification.

Step 15. After clicking, a fresh verification link would have sent to your email address. You can see the the demo inbox.

Step 16. Click the Verify Email Address button . After that you’ll be logged in your dashboard.