DEV Community

Cover image for Login & Registration in laravel 9
TechTool India
TechTool India

Posted on

Login & Registration in laravel 9

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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

After generating UI need to install npm dependencies.

npm run install && npm run dev
Enter fullscreen mode Exit fullscreen mode

Next to Migrate the database

php artisan migrate
Enter fullscreen mode Exit fullscreen mode

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

Top comments (0)