innmind/url
A lightweight PHP library for representing and manipulating URLs as immutable value objects. Parse and validate absolute or relative URLs, inspect and modify scheme, host, path, query and fragment, then convert back to strings through a clean, predictable API.
Library to abstract url handling
How can I help you explore Laravel packages today?