"required|exists:users,id", "to" => [ Rule::requiredIf(auth()->user()->post->count() > 0), "exists:users,id" ], ]; } }