command to install laravel auth code example Example: laravel auth 6 composer require laravel/ui "^1.0" --dev php artisan ui vue --auth