dandydev / reg-domain
RegisteredDomain is a simple library to extract the hostname from an URL in a consistent manner
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
pkg:composer/dandydev/reg-domain
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-10-11 19:59:26 UTC
README
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. 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.