how to change query guards in laravel 5.8 code example
Example 1: laravel setup auth
// Only for laravel 6.x and higher
composer require laravel/ui "^1.0" --dev
php artisan ui vue --auth
Example 2: laravel 8 make:auth
composer require laravel/ui --dev
php artisan ui vue --auth