Laravel Breeze also offers an Inertia.js frontend implementation powered by Vue or React. To use an Inertia stack, specify vue or react as your desired stack when executing the breeze:install Artisan command:

php artisan breeze:install vue // Or... php artisan breeze:install react npm installnpm run devphp artisan migrate
Laravel Breeze also offers an Inertia.js frontend implementation powered by Vue or React. To use an Inertia stack, specify vue or react as your desired stack when executing the breeze:install Artisan command:

php artisan breeze:install vue // Or... php artisan breeze:install react npm installnpm run devphp artisan migrate
After Composer has installed the Laravel Breeze package, you may run the breeze:install Artisan command. This command publishes the authentication views, routes, controllers, and other resources to your application. Laravel Breeze publishes all of its code to your application so that you have full control and visibility over its features and implementation. After Breeze is installed, you should also compile your assets so that your application's CSS file is available:

php artisan breeze:install npm installnpm run devphp artisan migrate
Laravel Breeze can also scaffold an authentication API that is ready to authenticate modern JavaScript applications such as those powered by Next, Nuxt, and others. To get started, specify the api stack as your desired stack when executing the breeze:install Artisan command:

php artisan breeze:install api php artisan migrate
Once you have created a new Laravel application, you may install Laravel Breeze using Composer:

composer require laravel/breeze --dev
First, you should create a new Laravel application, configure your database, and run your database migrations:

curl -s https://laravel.build/example-app | bash cd example-app php artisan migrate
When using the Laravel application starter kits, Laravel dispatches events during the email verification process. If you are manually handling email verification for your application, you may wish to manually dispatch these events after verification is completed. You may attach listeners to these events in your application's EventServiceProvider:

/** * The event listener mappings for the application. * * @var array */protected $listen = [    'Illuminate\Auth\Events\Verified' => [        'App\Listeners\LogVerifiedUser',    ],];
Laravel automatically regenerates the session ID during authentication if you are using one of the Laravel application starter kits or Laravel Fortify; however, if you need to manually regenerate the session ID, you may use the regenerate method:

$request->session()->regenerate();
After installing an authentication starter kit and allowing users to register and authenticate with your application, you will often need to interact with the currently authenticated user. While handling an incoming request, you may access the authenticated user via the Auth facade's user method:

use Illuminate\Support\Facades\Auth; // Retrieve the currently authenticated user...$user = Auth::user(); // Retrieve the currently authenticated user's ID...$id = Auth::id();
If you are manually implementing registration within your application instead of using a starter kit, you should ensure that you are dispatching the Illuminate\Auth\Events\Registered event after a user's registration is successful:

use Illuminate\Auth\Events\Registered; event(new Registered($user));

So, you can tell composer to update your package to resolve the conflicts.


composer require laravel/breeze --dev -w

Recommend

Starter Kits Laravel Breeze Installation

Laravel URL Generation Default Values URL Defaults & Middleware Priority

Laravel URL Generation Default Values

Laravel URL Generation URLs For Controller Actions

Laravel URL Generation URLs For Named Routes Signed URLs Responding To Invalid Signed Routes

Laravel URL Generation URLs For Named Routes Signed URLs Validating Signed Route Requests

Laravel URL Generation URLs For Named Routes Signed URLs

Laravel URL Generation URLs For Named Routes Eloquent Models

Laravel URL Generation URLs For Named Routes

Laravel URL Generation The Basics Accessing The Current URL

Laravel URL Generation The Basics Generating URLs

Laravel Telescope Displaying User Avatars

Laravel Telescope Available Watchers Request Watcher

Laravel Telescope Available Watchers Query Watcher

Laravel Telescope Available Watchers Model Watcher

Laravel Telescope Available Watchers Gate Watcher

Laravel Telescope Available Watchers Command Watcher

Laravel Telescope Available Watchers

Laravel Telescope Tagging

Laravel Telescope Filtering Batches

Laravel Telescope Filtering Entries

Laravel Telescope Upgrading Telescope

Laravel Telescope Installation Dashboard Authorization

Laravel Telescope Installation Data Pruning

Laravel Telescope Installation Configuration

Laravel Telescope Installation Local Only Installation

Laravel Telescope Installation

Laravel Blade Templates Extending Blade Custom If Statements

Laravel Blade Templates Extending Blade Custom Echo Handlers

Laravel Blade Templates Extending Blade

Laravel Blade Templates Rendering Inline Blade Templates

Laravel Blade Templates Service Injection

Laravel Blade Templates Stacks

Laravel Blade Templates Forms Validation Errors

Laravel Blade Templates Forms Method Field

Laravel Blade Templates Forms CSRF Field

Laravel Blade Templates Building Layouts Layouts Using Template Inheritance Extending A Layout

Laravel Blade Templates Building Layouts Layouts Using Template Inheritance Defining A Layout

Laravel Blade Templates Building Layouts Layouts Using Components Applying The Layout Component

Laravel Blade Templates Building Layouts Layouts Using Components Defining The Layout Component

Laravel Blade Templates Components Manually Registering Components

Laravel Blade Templates Components Dynamic Components

Laravel Blade Templates Components Anonymous Components Accessing Parent Data

Laravel Blade Templates Components Anonymous Components Data Properties / Attributes

Laravel Blade Templates Components Anonymous Components Anonymous Index Components

Laravel Blade Templates Components Anonymous Components

Laravel Blade Templates Components Inline Component Views Generating Inline View Components

Laravel Blade Templates Components Inline Component Views

Laravel Blade Templates Components Slots Slot Attributes

Laravel Blade Templates Components Slots Scoped Slots

Laravel Blade Templates Components Slots

Laravel Blade Templates Components Component Attributes Retrieving & Filtering Attributes

Laravel Blade Templates Components Component Attributes Non-Class Attribute Merging