malenki/url (packagist): Simple class to deal with URL, using magic getter, multisyntaxic way, to play with URL like yoou want!
Keywords: http|url|query|string|host|anchor|fragment|scheme|credential