Laravel breeze the starter kits you need to build your new application faster. Breeze offers the authentication for your app, automatically builds the controllers, views, and routes for registration, login, password reset, and email verification.
Laravel Breeze provides Laravel Jetstream, a beautifully designed application starter kit designed using Tailwind CSS, and offers the choice of Inertia.js and Livewire. It’s a good starting point for a brand new Laravel application.
Also, Breeze offers using Vue or React in Inertia.js frontend implementation.
Installation of Laravel Breeze
First, we need to create a brand new Laravel application.
laravel new breeze_app
cd breeze_app
php artisan migrate
After creating our Laravel application, let’s install the package via composer
composer require laravel/breeze --dev
After installing the Breeze package we need to run breeze:install
Artisan command for publishing the authentication views, routes, controllers, and other files then we use npm for compiling our assets files.
php artisan breeze:install
npm install
npm run dev
php artisan migrate
Everything should be ready by now let’s run our server.
php artisan serve
Now you can navigate to /register
or /login
URLs in your web browser.
You will find all the auth routes in routes\auth.php
Breeze with Inertia
Laravel breeze offers other frontend implementations powered by Vue or React in the Inertia stack When we install Breeze via breeze:install
artisan command we specify our desired stack.
php artisan breeze:install vue
//Or
php artisan breeze:install react
npm install
npm run dev
php artisan migrate
I hope, I could help. Thanks