how to call auth user id laravel 7 code example Example: how to get the auth id in lravael $userId = Auth::id();