Skip to content
@domainvalidity

Doma(In)Validity

Doma(in)Validity

Doma(in)Validity was born because I found myself searching online about how to check if a domain was valid. I always ended up using regular expressions that were too complex to account for several scenarios (mainly the TLD having different formats), it was just a pain in the butt because I always had to go back to that code to fix the regex to account for an edge case that I didn't think about.

Well, no more! Welcome Doma(in)Validity, this stupid simple API will check if a domain is valid or not based on the Public Suffix list.

I hope this is helpful for developers. You can see a working example here and a failing example here.

Popular repositories

  1. php-sdk php-sdk Public

    Light PHP SDK to interact with the Doma(in)Validity API.

    PHP 3

  2. php-domain-validator php-domain-validator Public

    Light PHP package to validate domains.

    PHP 2 1

  3. .github .github Public

    A stupid simple API to check if a given domain is valid

Repositories

Showing 3 of 3 repositories

Top languages

Loading…

Most used topics

Loading…