Laravel Breeze: Create Laravel 8 Authentication Scaffolding with 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

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.

--

--

--

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

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Primitive Data Type

A simple guide to using React Router

I will convert psd, xd, figma, sketch to html css bootstrap

How to clone your Private Git Repository and Deploy on Digitalocean your Node js Application with…

Feedback form that captures screenshots using HTML5 Canvas

Lightning LockerService Is Coming .Are You Ready ?

The “_test” convention

Will React Native die in 2022?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
KrishaWeb

KrishaWeb

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

More from Medium

Carbon Add Days To Date In Laravel

Why should we use Laravel blade ?

Laravel Blade Template

How to make Laravel + Vue + Inertia.js use Google ReCaptcha without installing a package

Laravel — Installation

Installation laravel