jeremykendall/php-domain-parser
Public Suffix List based domain parsing implemented in PHP observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 65
- Release rhythm 16
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 167
- age_days: 4982
- days_rel: 494
- days_push: 215
- n_releases_24m: 2
Adoption not part of the score
1238 stars · 126 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library that parses domain names into their component parts (subdomain, registrable domain, second-level domain, public suffix) using the Public Suffix List and IANA Top Level Domain List. It supports IDN hosts and provides accurate resolution that regex-based approaches cannot match.
Use cases
- parse domains into subdomain and registrable domain parts
- extract public suffix from a domain name
- validate domains against the public suffix list
- handle internationalized domain names in PHP
- split urls to get the registrable domain
- resolve second-level domains like co.uk
When to avoid
- you only need simple URL parsing without domain component breakdown
- you work outside the PHP ecosystem
Facets
library · maturity active
parser web-scraping developer-tools web-development parsers developer-tools php cli public-suffix-list domain-parsing idn url-parsing
1 source
- readme: https://github.com/jeremykendall/php-domain-parser · fetched 2026-08-28 · 3613786a59f7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jeremykendall/php-domain-parser | main | 55 |
For agents
markdown · JSON · MCP: product_card(name="jeremykendall/php-domain-parser")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem