league/uri
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
league/uri-interfaces | 7.4.1 | - | MIT | prod |
The League/Uri package is a powerful tool for managing URIs in PHP. It provides simple and intuitive classes that enable developers to effectively manipulate URIs. The package is much user-friendly due to its sub-split development model which allows developers to make pull requests and file issues separately.
Utilizing the League/Uri package is simple and straightforward. First, you need to have PHP version 8.1 or the latest stable version of PHP installed in your system. Specific handling for internationalized domain names (IDN) requires the presence of the intl
extension, or a similar polyfill like the symfony/polyfill-intl-idn
. Also, for IPv4 conversion, you need either the GMP
extension, the BCMatch
extension, or a 64-bits PHP version.
To install the package, use the composer command line tool:
$ composer require league/uri
After installing the package, you can easily start working with URIs in your PHP code. Unfortunately, actual code usage examples were not provided in the readme file attached with your question.
The complete documentation for the League/Uri package is available online. You can access it at https://uri.thephpleague.com. The documentation provides a detailed guide on how to effectively use the package to manage and manipulate URIs in PHP. The MIT License governs the usage of the League/Uri package, and you can find more information about it in the License file related to this package.