Skip to content

Domain name#

This validation rule checks if the POSTed value is a valid domain name with tld. There is no a limit on the amount of subdomains.

Valid examples are:

  • domain.tld
  • subdomain.domain.tld
  • g.co

Class#

LaravelExtendedValidation\Rules\Network\Domain

Constructor argument(s)#

none