setting up guards in laravel 8 code example Example: laravel auth //laravel 8.x //for bootstrap scafolding php artisan ui bootstrap --auth