how to logout using Auth guard in laravel code example Example 1: get user auth in laravel Auth::user(); Example 2: Auth log out laravel Auth::logout();