The Uri
package provides simple and intuitive classes to create and manage URIs in PHP.
- Simple API
- RFC3986 and RFC3987 compliant
- Implements the
UriInterface
from PSR-7 - Fully documented
- Framework Agnostic
- Composer ready, PSR-2 and PSR-4 compliant
Full documentation can be found at uri.thephpleague.com.
You need:
- PHP >= 7.0.13 but the latest stable version of PHP is recommended
- the
mbstring
extension - the
intl
extension
To use the library.
Install Uri
using Composer.
$ composer require league/uri
Contributions are welcome and will be fully credited. Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.