add laravel auth in laravel 8 code example Example: laravel auth 6 composer require laravel/ui "^1.0" --dev php artisan ui vue --auth