Overview

Author Source Code Latest Stable Version Software License
Build Status Code Coverage Quality Score Total Downloads

This package contains concrete objects to ease creating and manipulating URI objects represented as immutable value objects.

The following URI objects are defined (order alphabetically):

To ease URI objects creation and manipulation, the following helper classes are added (order alphabetically):

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.

In order to create Data URI from a filepath, since version 6.2, you are required to also install the fileinfo extension otherwise an exception will be thrown.

Installation

$ composer require league/uri:^6.0

Dependencies