ItSolutionStuff.com

Laravel 11 Authentication - Install Laravel 11 Breeze Tutorial

By Hardik Savani • September 17, 2024
Laravel

Hi dev, we will learn how to install and setup Breeze in laravel 11 application

Laravel Breeze provides simple authentication features including login, registration, password reset, email verification, and password confirmation. Breeze is powered by Blade and Tailwind. Laravel Breeze gives you the ability to create authentication scaffolding with Vue and React.

If you want to see how to install Breeze in Laravel 11, then just follow the steps below and see.

laravel 11 auth breeze

Install Laravel 11

This step is not required; however, if you have not created the Laravel app, then you may go ahead and execute the below command:

composer create-project laravel/laravel example-app

Install Breeze

Let's run the following command to install the Laravel Breeze package:

composer require laravel/breeze

Next, you have to install Laravel Breeze for simple auth scaffolding. So, let's run the below command:

php artisan breeze:install

It will ask you configuration questions like the following screenshot:

laravel 11 auth breeze 2

It will generate CSS and JS min files.

You can see which files are newly generated for auth scaffolding. Let's review them before running the Laravel app.

Generated Controller Files:

laravel 11 auth breeze 3

Generated Route File:

laravel 11 auth breeze 4

Generated Blade Files:

laravel 11 auth breeze 5

Run Laravel App:

All the required steps have been done, now you have to type the given below command and hit enter to run the Laravel app:

php artisan serve

Now, Go to your web browser, type the given URL and view the app output:

http://localhost:8000/

now you can see layout bellow as here:

Home Page:

Login Page:

Register Page:

Dashboard Page:

Output:

I hope it can help you...

Hardik Savani

Hardik Savani

I'm a full-stack developer, entrepreneur, and founder of ItSolutionStuff.com. Passionate about PHP, Laravel, JavaScript, and helping developers grow.

📺 Subscribe on YouTube

We Are Recommending You

Laravel 11 Bootstrap Auth Scaffolding Tutorial

Read Now →

How to Send Email using Gmail in Laravel 11?

Read Now →

Laravel 11 Vue JS Auth Scaffolding with Vite Tutorial

Read Now →

Laravel 11 Import Export Excel and CSV File Tutorial

Read Now →

Laravel 11 Generate PDF File using DomPDF Example

Read Now →

Laravel 11 Multiple File Upload Example

Read Now →

Laravel 11 Form Validation Example Tutorial

Read Now →

Laravel 11 File Upload Example Tutorial

Read Now →

Laravel 11 Multiple Image Upload Tutorial Example

Read Now →

Laravel 11 Image Upload Example Tutorial

Read Now →

Laravel 11 CRUD Application Example Tutorial

Read Now →

Exception/Error Handling in Laravel 11

Read Now →

How to Customize Default Middleware in Laravel 11?

Read Now →

How to Create Custom Middleware in Laravel 11?

Read Now →