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

Installation

System Requirements

Install

The library is available on Packagist and should be installed using Composer. This can be done by running the following command on a composer installed box:

$ composer require league/uri

Most modern frameworks will include Composer out of the box, but ensure the following file is included:

<?php

// Include the Composer autoloader
require 'vendor/autoload.php';

Going Solo

You can also use the library without Composer by:

Once extracted you will be able to load the library using any PSR-4 compatible autoloader.

If you choose to install the package manually, you are responsible for installing and autoloading the following dependencies: