laravel 7 require auth code example Example: laravel auth composer require laravel/ui php artisan ui vue --auth npm install && npm run dev