Skip to content

Doqnach/helper-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.