Functions and Middleware to manipulate URI Objects
Latest commit 83ec1e8 Jan 17, 2017 @nyamsprod nyamsprod prepare 1.0.0 release
Failed to load latest commit information.
.github Decouple URI Manipulator Oct 18, 2016
src prepare 1.0.0 release Jan 17, 2017
.editorconfig Add .editorconfig file Jul 17, 2016
.gitattributes Decouple URI Manipulator Oct 18, 2016
.gitignore Simplify the package URI modification system Sep 2, 2015
.php_cs Decouple URI Manipulator Oct 18, 2016
.travis.yml Drop PHP5 support Dec 22, 2016 prepare 1.0.0 release Jan 17, 2017 Adding the file Oct 6, 2015
LICENSE Decouple URI Manipulator Oct 18, 2016 Improve callable and int validation Jan 6, 2017
phpunit.xml Improve Package Dec 9, 2016

URI manipulations

Build Status Latest Version

The package contains:

  • an object to format URI string representation output;
  • a function to get the URI reference information according to RFC3986;
  • URI middlewares to ease filtering and manipulating Uri objects;

System Requirements

You need:

  • PHP >= 7.0 but the latest stable version of PHP is recommended
  • the mbstring extension
  • the intl extension



$ composer require league/uri-manipulations


Full documentation can be found at


League URI Manipulation has a PHPUnit test suite and a coding style compliance test suite using PHP CS Fixer. To run the tests, run the following command from the project folder.

$ composer test


Contributions are welcome and will be fully credited. Please see CONTRIBUTING and CONDUCT for details.


If you discover any security related issues, please email instead of using the issue tracker.



The MIT License (MIT). Please see License File for more information.