php-extended / php-uri-parser-object
A library that implements the php-extended/php-uri-parser-interface library
4.0.0
2022-05-31 07:25 UTC
Requires
Requires (Dev)
README
A library that implements the php-extended/php-uri-parser-interface library.
Installation
The installation of this library is made via composer.
Download composer.phar
from their website.
Then add to your composer.json :
"require": {
...
"php-extended/php-uri-parser-object": "^3"
...
}
Then run php composer.phar update
to install this library.
The autoloading of all classes of this library is made through composer's autoloader.
Basic Usage
This library may be used the following way :
To parse an uri :
use PhpExtended\Uuid\UuidParser;
$parser = new UriParser();
$uri = $parser->parse('https://packagist.org/path/to/repo');
// $uri instanceof UriInterface
License
MIT (See license file).