php-extended/php-uri-parser-object

A library that implements the php-extended/php-uri-parser-interface library

7.0.2 2024-04-08 18:40 UTC

README

A library that implements the php-extended/php-uri-parser-interface library.

coverage build status

Installation

The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.

  • Download composer.phar from their website.
  • Then run the following command to install this library as dependency :
  • php composer.phar php-extended/php-uri-parser-object ^7

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).