PHP domain parser just released version 5.4.0 with support for IANA top level domains.

While there are plenty of excellent URL parsers and builders available, there are very few projects that can accurately parse a url into its component subdomain, registrable domain, and public suffix parts.

PHP Domain Parser is built around accurate Public Suffix List based parsing. For URL parsing, building or manipulation please refer to libraries focused on those area of development.

LEAVE A REPLY

Please enter your comment!
Please enter your name here