jwage/purl
Purl is a lightweight, dependency-free PHP library for parsing and manipulating URLs. It provides a fluent object-oriented wrapper around parse_url, making it easy to inspect and modify schemes, hosts, paths, query strings, and fragments in your applications.
URL Manipulation for PHP 5.3
How can I help you explore Laravel packages today?