This package is deprecated Please consider using an stable alternative for any production code.

Uri Schemes

Build Status Latest Version

This package contains concrete URI objects represented as immutable value object. Each URI object implements the League\Uri\Interfaces\Uri interface as defined in the uri-interfaces package.

The following URI objects are defined (order alphabetically):

But you can easily create your own class to manage others scheme specific URI.

To ease URI objects creation a Factory is introduced as well as a create function.

System Requirements

You need:

While the library no longer requires out of the box the intl extension starting with version 1.2.0, you should still require it if you are dealing with URIs containing non-ASCII host. Without it, URI creation or manipulation action will throw an exception if such hosts are used.

Installation

$ composer require league/uri-schemes

Dependencies