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.
|
Package
|
Constraint
|
|---|---|
| layershifter/tld-database | ^1.0 |
| layershifter/tld-support | ^1.1 |
| symfony/polyfill-intl-idn | ^1.10 |
|
Package
|
Constraint
|
|---|---|
| phpmd/phpmd | @stable |
| phpunit/phpunit | ^4.8 || ^5.0 |
| squizlabs/php_codesniffer | ~2.0 |
How can I help you explore Laravel packages today?