PHPackages                             codezero/utilities - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. codezero/utilities

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

codezero/utilities
==================

All-round utilities library

1.1.0(11y ago)140.1k1MITPHPPHP &gt;=5.4.0

Since Aug 26Pushed 11y ago2 watchersCompare

[ Source](https://github.com/codezero-be/utilities)[ Packagist](https://packagist.org/packages/codezero/utilities)[ RSS](/packages/codezero-utilities/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

CodeZero Utilities
==================

[](#codezero-utilities)

[![Build Status](https://camo.githubusercontent.com/a9aa97e938a2d678e82878101e8e2c6dc31ec4af027556cc9026e575c0d7523c/68747470733a2f2f7472617669732d63692e6f72672f636f64657a65726f2d62652f7574696c69746965732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/codezero-be/utilities)[![Latest Stable Version](https://camo.githubusercontent.com/3d35b0c88f98f1ff5d8a94b81e7dd1e1cfb9c89bb6b8269bc4b1e1fdde37047a/68747470733a2f2f706f7365722e707567782e6f72672f636f64657a65726f2f7574696c69746965732f762f737461626c652e737667)](https://packagist.org/packages/codezero/utilities)[![Total Downloads](https://camo.githubusercontent.com/80cb9d31b3190eaef191ad12404b32fb5b92d860baa6cb9bdb4fba48e0002eed/68747470733a2f2f706f7365722e707567782e6f72672f636f64657a65726f2f7574696c69746965732f646f776e6c6f6164732e737667)](https://packagist.org/packages/codezero/utilities)[![License](https://camo.githubusercontent.com/d6f5f43f86b22fe20e7f4555700ba402034b1c58d7bd289da229d135f48944b5/68747470733a2f2f706f7365722e707567782e6f72672f636f64657a65726f2f7574696c69746965732f6c6963656e73652e737667)](https://packagist.org/packages/codezero/utilities)

This package includes some all-round methods that might be useful in many projects.

Installation
------------

[](#installation)

Download this package or install it through Composer:

```
"require": {
	"codezero/utilities": "1.*"
}

```

URL Helper
----------

[](#url-helper)

#### Join slugs into a well formatted URL

[](#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...

[](#thats-all-for-now)

---

[![Analytics](https://camo.githubusercontent.com/ef5c85a3f4b1985e810660cc170ed3562ec5a2a6c145ab9ff940ae19de8fd78a/68747470733a2f2f67612d626561636f6e2e61707073706f742e636f6d2f55412d35383837363031382d312f636f64657a65726f2d62652f7574696c6974696573)](https://github.com/igrigorik/ga-beacon)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~160 days

Total

2

Last Release

4120d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e17b7a892452367dfb0e5c55bf04844a16bb781f356f50019332d4b9a476ec6?d=identicon)[codezero](/maintainers/codezero)

---

Top Contributors

[![ivanvermeyen](https://avatars.githubusercontent.com/u/3598622?v=4)](https://github.com/ivanvermeyen "ivanvermeyen (5 commits)")

---

Tags

helperstoolsutilities

### Embed Badge

![Health badge](/badges/codezero-utilities/health.svg)

```
[![Health](https://phpackages.com/badges/codezero-utilities/health.svg)](https://phpackages.com/packages/codezero-utilities)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

338920.1k32](/packages/dereuromark-cakephp-tools)[ilya/belt

A handful of tools for PHP developers.

71020.8k1](/packages/ilya-belt)[longman/ip-tools

PHP IP Tools for manipulation with IPv4 and IPv6

147245.6k6](/packages/longman-ip-tools)[andreas-glaser/php-helpers

A comprehensive collection of PHP utility functions for array manipulation, string operations, date handling, HTML generation, form building, validation, and more. Modern PHP 8.2+ library with full type safety.

1386.5k2](/packages/andreas-glaser-php-helpers)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
