Simple class to parse an URL into its components using Regular Expressions.
You can either download the code, or install via composer.
Add the following repository to your composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/doqnach/helper-url"
}
]
}After adding this private repository, install normally using composer:
$ composer require doqnach/helper-urlPHPUnit tests are available for all public methods.