Uri Components
This package contains concrete URI components instances represented as immutable value objects.
⚠️ this is a sub-split, for development, pull requests and issues, visit: https://github.com/thephpleague/uri-src
System Requirements
- You require PHP >= 8.1 but the latest stable version of PHP is recommended
- You will need the ext-intl to handle i18n URI.
- You will need the ext-fileinfo to handle Data URI creation from a filepath.
Dependencies
In order to handle IDN host you should also require the intl
extension otherwise an exception will be thrown when attempting to validate such host.
Installation
$ composer require league/uri-components
Documentation
Full documentation can be found at uri.thephpleague.com.
License
The MIT License (MIT). Please see License File for more information.