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