The League Url package provides simple and intuitive classes and methods to create and manage Urls in PHP.
This package is compliant with PSR-2, and PSR-4.
You need PHP >= 5.4.7 and the mbstring
extension to use the library, but the latest stable version of PHP is recommended.
- Note: The last stable version of
League\Url
version 3.2.1 still supports PHP 5.3*
Install Url
using Composer.
$ composer require league/url
You can also use League\Url
without using Composer by downloading the library and using a PSR-4 compatible autoloader.
League\Url
is fully documented. Contribute to this documentation in the gh-pages branch.
$ phpunit
Please see CONTRIBUTING for details.
If you discover any security related issues, please email nyamsprod@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.