PHPackages                             phpnomad/utils - 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. phpnomad/utils

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

phpnomad/utils
==============

1.0.4(3w ago)06.4k—10%[2 issues](https://github.com/phpnomad/utils/issues)[1 PRs](https://github.com/phpnomad/utils/pulls)14MITPHPCI passing

Since Oct 11Pushed 3w ago2 watchersCompare

[ Source](https://github.com/phpnomad/utils)[ Packagist](https://packagist.org/packages/phpnomad/utils)[ Docs](https://github.com/phpnomad/core)[ RSS](/packages/phpnomad-utils/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (4)Dependencies (3)Versions (12)Used By (14)

phpnomad/utils
==============

[](#phpnomadutils)

[![Latest Version](https://camo.githubusercontent.com/5d905c665d60673a7d82adbb5aaeb080cde81dd4c45c258dd3ce6e434a26779c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068706e6f6d61642f7574696c732e737667)](https://packagist.org/packages/phpnomad/utils)[![Total Downloads](https://camo.githubusercontent.com/18b11e07eb97a658ca6b313bc18ae3f58f13034565a77879b2b5ac9aaa205bc8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068706e6f6d61642f7574696c732e737667)](https://packagist.org/packages/phpnomad/utils)[![PHP Version](https://camo.githubusercontent.com/75976c6a402a33d3fbfb3ea715d77840569d24e1ad5dd85b7ee38e89af9bfaaa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7068706e6f6d61642f7574696c732e737667)](https://packagist.org/packages/phpnomad/utils)[![License](https://camo.githubusercontent.com/5ee80581d5f3ba23275568795620f810101a4c1b5dd200c9fe0885f299a6ebe4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7068706e6f6d61642f7574696c732e737667)](https://packagist.org/packages/phpnomad/utils)

`phpnomad/utils` is the small set of helpers PHPNomad packages reach for when they need to work with arrays, strings, numbers, and objects. It ships an `Arr` static helper alongside `Str`, `Num`, and `Obj` companions, plus two processor classes (`ArrayProcessor` and `ListFilter`) for chainable transforms and queries. Zero runtime dependencies, used throughout the PHPNomad ecosystem.

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

[](#installation)

```
composer require phpnomad/utils
```

Overview
--------

[](#overview)

- `Arr` covers filtering, sorting, plucking, flattening, hydrating, casting, and dot-notation lookups for nested values, along with `array_*` proxies that take the input array as the first argument.
- `Str`, `Num`, and `Obj` handle the usual companion work: case conversion, pluralization, percentage math, and nested object access with getter-method fallback.
- `ArrayProcessor` wraps any `Arr` method into a chain, holds the array through each step, and can be cast to a string with a configurable separator.
- `ListFilter` queries an array of objects with chainable predicates covering dot-notation field access, `in` / `notIn` / `and` / `equals`, numeric comparisons, instance-type checks, key filters, and arbitrary callbacks.
- No runtime dependencies, so importing it anywhere in a PHPNomad stack stays cheap.

Documentation
-------------

[](#documentation)

Full API reference and usage examples live at [phpnomad.com](https://phpnomad.com).

License
-------

[](#license)

MIT. See [LICENSE.txt](LICENSE.txt).

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance95

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.1% 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 ~180 days

Total

4

Last Release

22d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e6206223bd6f2a57b8ac80605b1b5c3521faaec18ad3f20f25fb728a9a13784?d=identicon)[tstandiford](/maintainers/tstandiford)

---

Top Contributors

[![alexstandiford](https://avatars.githubusercontent.com/u/8210827?v=4)](https://github.com/alexstandiford "alexstandiford (41 commits)")[![malayladu](https://avatars.githubusercontent.com/u/708174?v=4)](https://github.com/malayladu "malayladu (2 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

frameworkhelpersphpphpnomadplatform-agnosticutilities

### Embed Badge

![Health badge](/badges/phpnomad-utils/health.svg)

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

PHPackages © 2026

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