Laravel 10 Bootstrap Auth Scaffolding Tutorial

Laravel 10, UI package for the easy step of auth scaffolding. Laravel UI provides simple authentication features including login, registration, password reset, email verification, and password confirmation using bootstrap, react, and vue.

Step 1: Install Laravel App

composer create-project laravel/laravel example-BootstrapAuth

Install Laravel UI

composer require laravel/ui

Next, you have to install the laravel UI package command for creating auth scaffolding using bootstrap 5. so let's run the bellow command:

php artisan ui bootstrap
 php artisan ui bootstrap --auth

Now let's run bellow command for install npm:

npm install && npm run dev

Next run migration command:

php artisan migrate

Run Laravel App:

php artisan serve

Now, Go to web browser, type the given URL and see the output:


Now you can see output with login and register button in home page. Thank You