laravel get guard from request code example Example: laravel setup auth // Laravel 5.x php artisan make:auth