layershifter/tld-support
Lightweight PHP utilities for parsing domains and top-level domains. Split URLs into subdomain, domain, and TLD, validate hostnames, and work with public suffix data. A small dependency for the tld-extract ecosystem, useful for domain validation, sorting, and extraction tasks.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| layershifter/tld-database | A PHP package providing an up-to-date database of top-level domains, with tools to parse domain names, extract and validate TLDs, and refresh the TLD list from IANA. Useful for domain validation, normalization, and routing logic. | 63 | 63 | 10 | 11K | 0 | 0.3 | 21.9 | Apache-2.0 | 7 years ago | |
| layershifter/tld-extract | Lightweight PHP library that extracts the top-level domain, domain name, and subdomain from URLs and email addresses using an accurate public suffix list. Simple static API returns structured results, making it easy to validate and parse domains in any Laravel or plain PHP project. | 210 | 203 | 32 | 9K | 8 | 2.1 | 17.6 | Apache-2.0 | 7 years ago |
How can I help you explore Laravel packages today?