PHPackages                             dandydev/reg-domain - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dandydev/reg-domain

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dandydev/reg-domain
===================

RegisteredDomain is a simple library to extract the hostname from an URL in a consistent manner

1121PHP

Since Nov 27Pushed 13y ago1 watchersCompare

[ Source](https://github.com/DandyDev/RegDomain)[ Packagist](https://packagist.org/packages/dandydev/reg-domain)[ RSS](/packages/dandydev-reg-domain/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

RegisteredDomain
================

[](#registereddomain)

RegisteredDomain is a simple library to extract the hostname from an URL in a consistent manner. It is based on the PHP version of the [reg-dom-libs](http://www.dkim-reputation.org/regdom-libs/). The License is kept from the original, because the code hasn't changed much, except for making it PHP5.3 compatible, removing deprecated short-style PHP tags and replacing deprecated elements, and putting it under Composer package control.

I will try to keep it updated as new TLDs get added.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a202bb654faac44df9b00310b68b6024c2ac399c7a2d398cca73658d547ecee?d=identicon)[DandyDev](/maintainers/DandyDev)

---

Top Contributors

[![DonDebonair](https://avatars.githubusercontent.com/u/854991?v=4)](https://github.com/DonDebonair "DonDebonair (2 commits)")

### Embed Badge

![Health badge](/badges/dandydev-reg-domain/health.svg)

```
[![Health](https://phpackages.com/badges/dandydev-reg-domain/health.svg)](https://phpackages.com/packages/dandydev-reg-domain)
```

###  Alternatives

[bertptrs/phpstreams

A streams library for PHP based on the Java 8 Streams API.

883.2k](/packages/bertptrs-phpstreams)[cheprasov/php-parallel

The class allows you to run multiple operations parallel in different processes and send results to the main process. Useful if you need to run multiple independent operations simultaneously, instead of sequential execution, or if you run several independent queries, for example, queries to different data bases

1712.5k5](/packages/cheprasov-php-parallel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
