how to use where in Auth::user() in laravel code example Example 1: get user auth in laravel Auth::user(); Example 2: laravel force login by id Auth::login($user);