auth middleware laravel 7 code example Example: php artisan ui:auth laravel 7 composer require laravel/ui php artisan ui vue --auth