Thursday, Dec 31, 2020 / Laravel / KrishaWeb

Laravel Breeze: Implementing Laravel 8 Authentication Features with Breeze

Laravel Breeze

Laravel Breeze provides a simple way to implement Laravel’s all authentication features like login, registration, password reset, email verification, and password confirmation in Laravel application.

It provides a view layer with its Tailwind CSS. If you need to build a fast startup for your application then you should use it.

To use Laravel Breeze, you need to create a new Laravel application, configure a database, and run migration.

Create a New Laravel App:

laravel new laravel-breeze
cd laravel-breeze

run your migration

php artisan migrate

Fetch Laravel Breeze in your application using Composer

composer require laravel/breeze --dev

Now to use Laravel Breeze, run below artisan command to install it in your application, and to compile CSS use npm.

php artisan breeze:install
npm install
npm run dev

You can check all your auth routes in web/auth.php file

There are routes for Login, Register, Forgot Password, Reset Password, Verify Email, Confirm Password.

Now run your app and open http://localhost:8000/login and http://localhost:8000/register to view the output.

As you run your application you will find the following screen scaffold for your application.

Home

Laravel Home

Registration

Registration

Verify Email

Email verification

Password Confirmation

Confirm Password

Login

Login

Dashboard

Dashboard

Forgot Password

Forgot Password

Reset Password

Reset Password

You are good to go! Enjoy!

divider

Leave a Reply

Your email address will not be published. Required fields are marked *

author
KrishaWeb
under Laravel
DOWNLOAD THIS FREE EBOOK OF

Intermediate Guide For WordPress

Intermediate WordPress Guide
line

You have a visionWe know the way to get you there.