Popularity
5.4
Growing
Activity
7.9
Declining
552
21
67

Description

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.

Consider the domain www.pref.okinawa.jp. In this domain, the public suffix portion is okinawa.jp, the registrable domain is pref.okinawa.jp, and the subdomain is www. You can't regex that.

Other similar libraries focus primarily on URL building, parsing, and manipulation and additionally include public suffix domain parsing. PHP Domain Parser was built around accurate Public Suffix List based parsing from the very beginning, adding a URL object simply for the sake of completeness.

Code Quality Rank: L5
Monthly Downloads: 70,408
Programming language: PHP
License: MIT License
Tags: URL     Public Suffix List     Domain Parsing     Url Parsing     Idn     Icann     PSL    

PHP Domain Parser alternatives and related libraries

Based on the "URL" category

Do you think we are missing an alternative of PHP Domain Parser or a related project?

Add another 'URL' Library

PHP Domain Parser Recommendations

There are no recommendations yet. Be the first to promote PHP Domain Parser!

Have you used PHP Domain Parser? Share your experience. Write a short recommendation and PHP Domain Parser, you and your project will be promoted on Awesome PHP.
Recommend PHP Domain Parser

Recently added PHP Domain Parser resources

Do you know of a usefull tutorial, book or news relevant to PHP Domain Parser?
Be the first to add one!