File: index.md

package info (click to toggle)
php-league-uri-src 7.5.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,712 kB
  • sloc: php: 16,698; javascript: 127; makefile: 43; xml: 36
file content (47 lines) | stat: -rw-r--r-- 1,315 bytes parent folder | download | duplicates (2)
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
=======

[![Build Status](https://img.shields.io/travis/thephpleague/uri-manipulations/master.svg?style=flat-square)](https://travis-ci.org/thephpleague/uri-manipulations)
[![Latest Version](https://img.shields.io/github/release/thephpleague/uri-manipulations.svg?style=flat-square)](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/)