- Notifications
You must be signed in to change notification settings - Fork9
RFC3986/RFC3987 compliant URI parser
License
thephpleague/uri-parser
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This package contains a userland PHP uri parser compliant withRFC 3986.
THIS PACKAGE IS ON MAINTENANCE MODE SINCE 2019-10-18, FOR ANY NEW PROJECT PLEASE USEleague/uri v6+
You need:
- PHP >= 7.0 but the latest stable version of PHP is recommended
While the library no longer requires theext/intl
extension, it is strongly advise to install this extension if you are dealing with URIs containing non-ASCII host. Without the extension, the parser will throw an exception if such URI is parsed.
$ composer require league/uri-parser
Full documentation can be found aturi.thephpleague.com.
League Uri Parser
has a :
- aPHPUnit test suite
- a coding style compliance test suite usingPHP CS Fixer.
- a code analysis compliance test suite usingPHPStan.
To run the tests, run the following command from the project folder.
$ composertest
Contributions are welcome and will be fully credited. Please seeCONTRIBUTING andCONDUCT for details.
If you discover any security related issues, please emailnyamsprod@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please seeLicense File for more information.
About
RFC3986/RFC3987 compliant URI parser