2017 © Pedro Peláez
 

library utilities

All-round utilities library

image

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

The README.md

CodeZero Utilities

Build Status Latest Stable Version Total Downloads License, (*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

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, (*4)

This will make sure there is only one slash between each slug., (*5)

### That's all for now...

Analytics, (*6)

The Versions

03/02 2015

dev-master

9999999-dev

All-round utilities library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Ivan Vermeyen

helpers tools utilities

03/02 2015

1.1.0

1.1.0.0

All-round utilities library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Ivan Vermeyen

helpers tools utilities

26/08 2014

1.0.0

1.0.0.0

All-round utilities library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Ivan Vermeyen

helpers tools utilities