Download the PHP package chemisus/uri without Composer
On this page you can find all versions of the php package chemisus/uri. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package uri
URI
Install
composer require chemisus/uri
Examples
$uri = uri("http://example.com:8080/hello?name=chemisus");
echo $uri->scheme(); # http
echo $uri->host(); # example.com
echo $uri->port(); # 8080
echo $uri->authority(); # example.com:8080
echo $uri->path(); # /hello
echo $uri->query(); # name=chemisus
echo $uri; # http://example.com:8080/hello?name=chemisus
$child = $uri->with([
URI::SCHEME => 'https',
URI::PORT => null,
URI::PATH => '/hello/world'
]);
echo $child->scheme(); # https
echo $child->host(); # example.com
echo $child->port(); #
echo $child->authority(); # example.com
echo $child->path(); # /hello/world
echo $child->query(); # name=chemisus
echo $child; # https://example.com/hello/world?name=chemisus
All versions of uri with dependencies
PHP Build Version
Package Version
No informations.
The package chemisus/uri contains the following files
Loading the files please wait ....