1// How to install Auth in laravel
2
3// With Boothstrap
4composer require laravel/ui --dev
5php artisan ui bootstrap --auth
6npm install && npm run dev
7
8// With VUE
9composer require laravel/ui --dev
10php artisan ui vue --auth
11npm install && npm run dev
11. composer create-project laravel/laravel laravel8 8.0
22. composer require laravel/ui
33. php artisan ui vue --auth
44. npm install
55. npm run dev
6
7
8Now our Laravel 8 auth system is ready to use.
9To check authentication is successfully installed or not.
10Please browse the links given below.To login check
11example.com/login
12To registration check
13example.com/register
14
15Disable Registration System
16If you want to disable the new user registration system.
17Then go to the web.php route file and change the auth route.
18
19Auth::routes(['register' => false]);
1composer require laravel/ui
2php artisan ui vue --auth
3php artisan migrate
4