Which of the following will apply authentication middleware to all functions in a Laravel controller (select the most correct options): code example
Example 1: artisan make auth
composer require laravel/ui
php artisan ui vue --auth
Example 2: laravel auth
composer require laravel/ui:^2.4
php artisan ui vue --auth