# How to make login and register 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](https://techtoolindia.com/how-to-install-laravel-9) we need to install [laravel/ui](https://github.com/laravel/ui) package in order to generate authentication in laravel 9.

## To Install run the composer command
```php
composer require laravel/ui
```

## After Composer installation run artisan command to generate scaffolding.

```php
// 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.

```php
npm run install && npm run dev
```

Next to Migrate the database
```php
php artisan migrate
```

## The Output will look like.

![Laravel 9 Login Registration](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8q1mtny08yk03qeqn7zu.png)

The Installation Tutorial is below in the video.

%[https://youtu.be/ul3t3YpTXM8]

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

Thank You for Reading

Reach Out To me.
[Twitter](https://twitter.com/techtoolindia)
[Instagram](https://www.instagram.com/techtoolindia/)
[TechToolIndia YouTube Channel](https://www.youtube.com/channel/UCOy6o08Yn9DtXMKqxhD9ivA)
