--- layout: default title: Uri objects scheme specific redirect_from: - /5.0/uri/ - /schemes/ --- Uri Schemes ======= [](https://travis-ci.org/thephpleague/uri-schemes) [](https://github.com/thephpleague/uri-components/schemes) 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](https://github.com/thephpleague/uri-interfaces). The following URI objects are defined (order alphabetically): - [Data](/5.0/uri/schemes/data/) : represents a Data scheme URI - [File](/5.0/uri/schemes/file/) : represents a File scheme URI - [FTP](/5.0/uri/schemes/ftp/) : represents a FTP scheme URI - [Http](/5.0/uri/schemes/http/) : represents a HTTP/HTTPS scheme URI, implements PSR-7 `UriInterface` - [URI](/5.0/uri/schemes/uri/) : represents a generic RFC3986 URI object - [Ws](/5.0/uri/schemes/ws/) : represents a WS/WSS scheme URI
To ease URI objects creation a [Factory](/5.0/uri/factory) is introduced as well as a [create](/5.0/uri/functions) function. System Requirements ------- You need: - **PHP >= 7.0.13** but the latest stable version of PHP is recommended 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 ------- - [PSR-7](http://www.php-fig.org/psr/psr-7/) - [League Uri Interfaces](https://github.com/thephpleague/uri-interfaces) - [League Uri Parser](/5.0/parser/)