1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
---
layout: default
title: URI formatter and URI middleware
redirect_from:
- /manipulations/
- /5.0/manipulations/
- /5.0/manipulations/installation/
---
URI manipulations
=======
[](https://travis-ci.org/thephpleague/uri-manipulations)
[](https://github.com/thephpleague/uri-manipulations/releases)
The `League Uri Manipulations` repository contains:
- an URI formatter to format URI string representation output;
- URI middlewares to filter Uri objects;
To be used, the URI objects are required to implement one of the following interface:
- `League\Uri\Interfaces\Uri`;
- `Psr\Http\Message\UriInteface`;
All functions and classes are located under the following namespace : `League\Uri\Modifiers`
System Requirements
-------
You need:
- **PHP >= 7.0** but the latest stable version of PHP is recommended
Installation
--------
~~~
$ composer require league/uri-manipulations
~~~
Dependencies
-------
- [PSR-7 UriInterface](http://php-fig.org/psr/psr-7/)
- [League URI Interfaces](https://github.com/thephpleague/uri-interfaces)
- [League URI Components](/5.0/components/)
|