laravel 6 login and registration code example Example: laravel 6 auth composer require laravel/ui "^1.0" --dev php artisan ui vue --auth