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