Laravel 9 Authentication with Laravel Breeze

By Guest | Mar 12, 2022 | Laravel
Share : Whatsapp

Laravel 9 Auth Scaffolding using Breeze Tutorial

In this post, you will be learning about laravel authentication using breeze package which is all about login and registration system in laravel 9.

Step 1: First, you should create a new Laravel application, configure your database, and run your database migrations:

composer create-project laravel/laravel laravelproject

Step 2: Set Up Database Details in ENV file.


Step 3: Install Laravel Breeze

composer require laravel/breeze --dev

Step 4: Step up Auth Scaffolding

4.1 - Simple Auth Scaffolding:

php artisan breeze:install

4.2 - Breeze & Inertia

php artisan breeze:install vue

// Or...

php artisan breeze:install react

npm install
npm run dev
php artisan migrate

Step 5: Run npm install && npm run dev command

npm install && npm run dev

Step 6: Migrate your database

php artisan migrate

Now our Laravel 9 authentication system with Breeze is ready. you can run serve

php artisan serve

Thank you.