The uri-src
is the monorepo which enables the development of the different league uri
related packages:
To contribute to the package development you are required to have your code tested with the following requirements:
- PHP >= 8.1 but the latest stable version of PHP is recommended
- The ext-intl
- The ext-fileinfo
Full documentation can be found at uri.thephpleague.com.
Contributions are welcome and will be fully credited. Please see CONTRIBUTING and CODE OF CONDUCT for details.
The library has a :
- a PHPUnit test suite
- a coding style compliance test suite using PHP CS Fixer.
- a code analysis compliance test suite using PHPStan.
To run the tests, run the following command from the project folder.
$ composer test
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The UriTemplate
class is adapted from the Guzzle 6 project.
The MIT License (MIT). Please see License File for more information.