Uri Components
This package contains concrete URI components object represented as immutable value object as well as function to ease component parsing.
List of URI component objects
Each URI component object implements the League\Uri\Components\ComponentInterface
interface.
All URI components objects are located under the following namespace : League\Uri\Components
The following URI component objects are defined (order alphabetically):
- DataPath : the Data Path component
- HierarchicalPath : the hierarchical Path component
- Host : the Host component
- Fragment : the Fragment component
- Path : the generic Path component
- Port : the Port component
- Query : the Query component
- Scheme : the Scheme component
- UserInfo : the User Info component
System Requirements
You need:
- PHP >= 7.0 but the latest stable version of PHP is recommended
- the
intl
extension
Installation
$ composer require league/uri-components
Dependencies
Prior to version 1.4.0
Starting with version 1.4.0
The changes between dependencies was done to support PHP7.2+