PHPackages                             midnite81/urlparser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. midnite81/urlparser

ActiveLibrary

midnite81/urlparser
===================

A PHP 7.1+ package to parse urls

v1.0.3(3y ago)14.0k↓50%MITPHPPHP &gt;=7.1

Since Jan 25Pushed 3y ago2 watchersCompare

[ Source](https://github.com/midnite81/urlparser)[ Packagist](https://packagist.org/packages/midnite81/urlparser)[ RSS](/packages/midnite81-urlparser/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

Url Parser
==========

[](#url-parser)

[![Latest Stable Version](https://camo.githubusercontent.com/9363f14da04a977968143f73f9b1e43522cdbe6f79d3df360e9f38b26b6f1f7f/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f75726c7061727365722f76657273696f6e)](https://packagist.org/packages/midnite81/urlparser) [![Total Downloads](https://camo.githubusercontent.com/55a33f5c98c0bb30410899462cbadae6c05af23fac88545b251dfa432eeb5e6f/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f75726c7061727365722f646f776e6c6f616473)](https://packagist.org/packages/midnite81/urlparser) [![Latest Unstable Version](https://camo.githubusercontent.com/5d86e11293dfad0e6149892951c990858c7babf7fd2cbdf4c12f20296a879742/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f75726c7061727365722f762f756e737461626c65)](https://packagist.org/packages/midnite81/urlparser) [![License](https://camo.githubusercontent.com/bbf7a5d9277c09a17c598c6fd34652d20750c4821183af06decd0280e54ad79f/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f75726c7061727365722f6c6963656e73652e737667)](https://packagist.org/packages/midnite81/urlparser) [![Build](https://camo.githubusercontent.com/9393b6620670b705c46a426f921aa816a2ff73d1ed0f17b67e0af94b13347c96/68747470733a2f2f7472617669732d63692e6f72672f6d69646e69746538312f75726c7061727365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/midnite81/urlparser) [![Coverage Status](https://camo.githubusercontent.com/c374405eb5bc42825e8dd547bdc5bb6ab52ae1b2c17a192c058eec1e73a71287/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d69646e69746538312f75726c7061727365722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/midnite81/urlparser?branch=master)
A PHP 7.1+ URL parser for easy manipulation of URLs

Installation
------------

[](#installation)

This package requires PHP 7.1+.

To install through composer include the package in your `composer.json`.

```
"midnite81/urlparser": "^1.0"

```

Run `composer install` or `composer update` to download the dependencies or you can run `composer require midnite81/urlparser`.

Example Usage
-------------

[](#example-usage)

```
