Laravel 9 Auth Scaffolding using Bootstrap Laravel UI
By Guest |
Mar 13, 2022 |
Laravel
Laravel 9 Scaffolding using Bootstrap Laravel UI
How to install bootstrap auth scaffolding in laravel 9 ?
In this post, you will be learning about how to make auth scaffolding in laravel 9 using bootstrap laravel ui package. so, let's get started.
Step 1: Install Laravel 9 Application via composer.
composer create-project laravel/laravel laravelproject
Step 2: Setup Database Configuration in .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
Step 3: Install Laravel UI Package using the following.
composer require laravel/ui
Step 4: Install Auth Scaffolding Bootstrap Package with the following command.
php artisan ui bootstrap --auth
Step 5: After successful installation of auth scaffolding, run the following command.
npm install
npm run dev
Step 6: lets migrate the table
php artisan migrate
Now, we have successfully done with Auth Scaffolding and lets serve the application using the following command:
php artisan serve
Thank you.