I have been looking for something like this in PHP, any ideas?
parse_url http://us.php.net/parse_url for getting URI components
parse_str http://us.php.net/parse_str for getting query string variables
These two functions take care of the vast majority of my URI parsing/creation tasks.
Of course it would be nice to have a fluent interface like URI.js via a PHP class. And the URI normalization functions.
I was hoping there are some existing resources before I start porting this...