Download the PHP package codezero/utilities without Composer
On this page you can find all versions of the php package codezero/utilities. 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 utilities
CodeZero Utilities
This package includes some all-round methods that might be useful in many projects.
Installation
Download this package or install it through Composer:
"require": {
"codezero/utilities": "1.*"
}
URL Helper
Join slugs into a well formatted URL
$urlParts = [
'http://www.mysite.com/',
'/subdir',
'someOtherDir/',
'/somepage.php'
];
use CodeZero\Utilities\UrlHelper;
$urlHelper = new UrlHelper();
$url = $urlHelper->joinSlugs($urlParts);
Returns:
http://www.mysite.com/subdir/someOtherDir/somepage.php
This will make sure there is only one slash between each slug.
That's all for now...
All versions of utilities with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package codezero/utilities contains the following files
Loading the files please wait ....