library utilities
All-round utilities library
codezero/utilities
All-round utilities library
- Tuesday, February 3, 2015
- by codezero
- Repository
- 2 Watchers
- 0 Stars
- 4,924 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 8 % Grown
CodeZero Utilities
, (*1)
This package includes some all-round methods that might be useful in many projects., (*2)
Installation
Download this package or install it through Composer:, (*3)
"require": {
"codezero/utilities": "1.*"
}
URL Helper
$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
, (*4)
This will make sure there is only one slash between each slug., (*5)
### That's all for now...
, (*6)
dev-master
9999999-dev
All-round utilities library
Sources
Download
MIT
The Requires
The Development Requires
by
Ivan Vermeyen
helpers
tools
utilities
1.1.0
1.1.0.0
All-round utilities library
Sources
Download
MIT
The Requires
The Development Requires
by
Ivan Vermeyen
helpers
tools
utilities
1.0.0
1.0.0.0
All-round utilities library
Sources
Download
MIT
The Requires
The Development Requires
by
Ivan Vermeyen
helpers
tools
utilities