Doqnach / helper-url

URL Parser helper class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URL Parser helper

Simple class to parse an URL into its components using Regular Expressions.

How to install

You can either download the code, or install via composer.

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-url

Tests

PHPUnit tests are available for all public methods.

About

URL Parser helper class

License:MIT License


Languages

Language:PHP 100.0%