install laravel auth for laravel 7 code example
Example 1: laravel 6 auth
composer require laravel/ui "^1.0" --dev
php artisan ui vue --auth
Example 2: laravel setup auth
// Laravel 5.x
php artisan make:auth
composer require laravel/ui "^1.0" --dev
php artisan ui vue --auth
// Laravel 5.x
php artisan make:auth