Please consider using the the latest stable version for any production code.

Uri Components

Build Status Latest Version

This package contains classes to help parsing and modifying URI components.

List of URI component objects

All URI components objects are located under the following namespace : League\Uri\Components

The following URI related classes are defined (order alphabetically):

List of URI helper class

System Requirements

You need PHP >= 7.2 but the latest stable version of PHP is recommended

In order to handle IDN host you are required to also install the intl extension otherwise an exception will be thrown when attempting to validate such host.


$ composer require league/uri-components