League URI components objects
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Improve github repo Nov 2, 2018
src
tests bugfix Intl extension issue Nov 16, 2018
.editorconfig Add .editorconfig file Jul 17, 2016
.gitattributes adding PHPStan Feb 22, 2018
.gitignore Improve path object decoupling Nov 2, 2018
.php_cs
.scrutinizer.yml update scrutinizr config Oct 10, 2018
.travis.yml
CHANGELOG.md bugfix Intl extension issue Nov 16, 2018
CONDUCT.md
LICENSE decoupled the URI components Oct 17, 2016
README.md improve dockblocks Nov 4, 2018
composer.json
phpstan.src.neon backport #22 fixes Nov 1, 2018
phpstan.tests.neon improve test suite Oct 31, 2018
phpunit.xml update phpstan dependencies Oct 30, 2018

README.md

Uri Components

Build Status Latest Version

This package contains concrete URI components object represented as immutable value object.

System Requirements

You need:

  • PHP >= 7.1.3 but the latest stable version of PHP is recommended

In order to handle IDN host you should also install the intl extension otherwise and Exception will be thrown when attempting to validate such host.

Installation

$ composer require league/uri-components

Documentation

Full documentation can be found at uri.thephpleague.com.

Contributing

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

Testing

uri-components 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

Security

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

Credits

License

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