zobzn / zbz-uri
URI Manipulation
Installs: 128
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/zobzn/zbz-uri
Requires
- php: >=5.3.0
Requires (Dev)
- fabpot/php-cs-fixer: ^1.11
- phpunit/phpunit: ^4.8
This package is not auto-updated.
Last update: 2025-05-19 17:23:42 UTC
README
URI manipulation library
Installation
composer require zobzn/zbz-uri
Basic Usage
$uri = Zbz\Uri::get('http://examplex.org/index.php?key1=val1#title') ->withScheme('https') ->withAuthority('example.com') ->withPath('/index.htm') ->withQuery('key2=val2') ->withFragment('content'); var_export(array( (string) $uri, $uri->getScheme(), $uri->getAuthority(), $uri->getPath(), $uri->getQuery(), $uri->getFragment(), ));