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
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 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.
You are good to go! Enjoy!