Removal of laravel URL class use

Signed-off-by: Chris Duell <me@chrisduell.com>