hcelebi/url-parser-tool

There is no license information available for the latest version (v1.0.2) of this package.

Url Parser Tool

Installs: 22

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/hcelebi/url-parser-tool

v1.0.2 2015-10-16 06:31 UTC

This package is not auto-updated.

Last update: 2025-12-10 16:35:47 UTC


README

#URL Parser Tool

###Example Usage

$url = "http://www.xxx.com/search/?k=word";
$urlType = new Url($url);

//Get query params as array
$query = $urlType->getQuery()->toArray();

//Get uri path
$path = $urlType->getPath();

//Update query param
$urlType->getQuery()->set("k" => "wordxx");