laravel get logged in user's id code example Example: get logged user id laravel $id = Auth::user()->id;print_r($id);