ivmoiseev/uriparser (packagist): PHP URI parser, that I use in my simple scripts.
Keywords: php|dynamic-subdomains|uri-parser|url|url-parser