get auth id in laravel model code example Example 1: get id user login laravel use Auth; $user_id = Auth::user()->id; Example 2: get user auth in laravel Auth::user();