PHPackages                             hexel/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. hexel/utilities

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

hexel/utilities
===============

My kitchen sink of useful PHP utility classes.

v0.1.2(5y ago)010MITPHP

Since Apr 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hexelcolorado/utilities)[ Packagist](https://packagist.org/packages/hexel/utilities)[ RSS](/packages/hexel-utilities/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Hexel Utilities
===============

[](#hexel-utilities)

This is a library of general utility classes that can be used in any context. Some of these utilities cover functionality that is not natively available in PHP, or are available in a later release of PHP but a project I'm actively working on hasn't upgraded to yet. For example, I wrote `ArgumentValidation\ArgValidate::objectHasNestedProperty()` because a project I'm working on hasn't made the leap from PHP 7.4 to PHP 8, which introduced the null-safe operator. Some utilities are syntactic sugar to either DRY up repetitive code, add expressive semantics to make code more self-documenting, or both.

Pull Requests are welcome.

---

ArgumentValidation
==================

[](#argumentvalidation)

These utilities are meant to add advanced validation to method arguments. All methods are invoked statically. There are often two versions of a validator, the "thrown" class and "non-thrown" class. The "thrown" class with throw an `\InvalidArgumentException` if the test returns false, while the "non-thrown" will simply return false.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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 ~0 days

Total

3

Last Release

1900d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24529106?v=4)[Hexel Colorado](/maintainers/hexel)[@Hexel](https://github.com/Hexel)

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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