How to make login and register in laravel 9

How to make login and register in laravel 9

ยท

1 min read

Make Login & Registration In Laravel 9

Today I am going to explain how you can generate Authentication scaffolding in Laravel 9.

Laravel UI Installation.

After Installing Laravel 9 we need to install laravel/ui package in order to generate authentication in laravel 9.

To Install run the composer command

composer require laravel/ui

After Composer installation run artisan command to generate scaffolding.

// Generate basic scaffolding...
php artisan ui bootstrap
php artisan ui vue
php artisan ui react

// Generate login / registration scaffolding...
php artisan ui bootstrap --auth
php artisan ui vue --auth
php artisan ui react --auth

After generating UI need to install npm dependencies.

npm run install && npm run dev

Next to Migrate the database

php artisan migrate

The Output will look like.

Laravel 9 Login Registration

The Installation Tutorial is below in the video.

If you face any issue while installing, please comment your query.

Thank You for Reading

Reach Out To me. Twitter Instagram TechToolIndia YouTube Channel

ย