Laravel Breeze: Create Laravel 8 Authentication Scaffolding with Breeze

KrishaWeb
3 min readDec 31, 2020

--

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

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

Registration

Verify Email

Password Confirmation

Login

Dashboard

Forgot Password

Reset Password

You are good to go! Enjoy!

Originally published at https://www.krishaweb.com on December 31, 2020.

--

--

KrishaWeb
KrishaWeb

Written by KrishaWeb

A Full-Service Digital Agency offering Web Design, UI UX Design, Open Source Development, Framework Development, and Digital Marketing to global clients.

No responses yet