Download the PHP package diversen/get-url-part without Composer
On this page you can find all versions of the php package diversen/get-url-part. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download diversen/get-url-part
More information about diversen/get-url-part
Files in diversen/get-url-part
Download diversen/get-url-part
More information about diversen/get-url-part
Files in diversen/get-url-part
Vendor diversen
Package get-url-part
Short Description Very simple and minimal library to get a part of the URL from
License MIT
Package get-url-part
Short Description Very simple and minimal library to get a part of the URL from
License MIT
Please rate this library. Is it a good library?
Informations about the package get-url-part
get-url-part
Very simple and minimal PHP library to get a part of the URL from $_SERVER['REQUEST_URI']. No dependencies.
Install:
composer require diversen/get-url-part
Usage:
use diversen\urlPart
$urlPart = new urlPath();
$urlPArt->getPart(0); // Returns e.g. 'test' from http://localhost:8080/test/etc/
Or as a static method:
urlPart::get(0);
Test:
See index.php
All versions of get-url-part with dependencies
PHP Build Version
Package Version
No informations.
The package diversen/get-url-part contains the following files
Loading the files please wait ....