jwage/purl — pull request #37 by rcmachado (2014-09-10 15:00:37+00:00)
Title: Add method to create Url objects from $_SERVER

Adds a method `\Purl\Url::fromCurrent()` to build an URL using data available on $_SERVER variable.

This is a very basic code - probably doesn't work in all cases, but I wanted some feedback on it. Tested on nginx + php-fpm.