Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started

league/uri 4.2.3

URI manipulation library
Package summary
Share
0
issues
0
licenses
Package created
15 Jul 2015
Version published
17 Oct 2017
Maintainers
1
Total deps
0
Direct deps
0
License
MIT
Error Generating Report

Frequently Asked Questions

What does league/uri do?

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.

How do you use league/uri?

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.

Where are the league/uri docs?

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.