code: public function validate($field, $parameters = [])
      {
          $attribute = $this->parseAttributeName($field);
          $validationParams = $this->parseParameters($parameters);
          $validationResult = $this->validateJsRemoteRequest($attribute, $validationParams);
  
          $this->throwValidationException($validationResult, $this->validator);
      }
docs: Validate request.
  
  @param $field
  @param $parameters
  @return void
  
  @throws \Illuminate\Validation\ValidationException