respect-validation/docs/rules/Tld.md
Alexandre Gomes Gaigalas e2b6138bf6 Add PublicDomainSuffix Rule
- List will be auto-updated from https://publicsuffix.org/list/public_suffix_list.dat
 - Updated AbstractSearcher rules to be case insensitive
 - Updated PR creator bots
 - Docs and tests
2023-02-19 00:19:10 -03:00

529 B

Tld

  • Tld()

Validates whether the input is a top-level domain.

v::tld()->validate('com'); // true
v::tld()->validate('ly'); // true
v::tld()->validate('org'); // true
v::tld()->validate('COM'); // true

Categorization

  • Internet

Changelog

Version Description
0.3.9 Created

See also: