Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

zobzn/zbz-uri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zbz-uri

Build Status Software License

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(),
));

About

URI manipulation library

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages