PHPackages                             glynnforrest/crutches - 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. glynnforrest/crutches

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

glynnforrest/crutches
=====================

A PHP utility library

0.4.0(11y ago)85.9k14MITPHPPHP &gt;=5.3.0

Since Nov 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/glynnforrest/Crutches)[ Packagist](https://packagist.org/packages/glynnforrest/crutches)[ RSS](/packages/glynnforrest-crutches/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (11)Used By (4)

Crutches
========

[](#crutches)

A PHP utility library
---------------------

[](#a-php-utility-library)

[![Build Status](https://camo.githubusercontent.com/8b01d7bb6bcaff96f6be13af32a307c49e17514e6f569806df4cf7ac14299ae7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f676c796e6e666f72726573742f43727574636865732f6d61737465722e737667)](https://travis-ci.org/glynnforrest/Crutches)[![Packagist](https://camo.githubusercontent.com/99987cfc6325fa95436b430dffddba227b673165dbf2292531f4e2d9d02b9c65/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676c796e6e666f72726573742f43727574636865732e737667)](https://packagist.org/packages/glynnforrest/Crutches)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)

Included classes:

- DotArray - Set and get values from complex array structures easily.
- ItemList - Manipulate a list of objects (arrays with numeric keys). Methods are inspired by functional concepts such as map, filter and take. All methods that operate on the list return a new instance, leaving the original list unchanged.
- MutableItemList - The same as ItemList, except all methods modify the object instead of returning a new instance.
- Bitmask - A series of flags used to represent a group of properties (e.g. user permissions).
- NamedBitmask - An extension of Bitmask that abstracts numeric flags away from the user, instead referring to named flags.
- Roman - Convert integers to roman numerals and back again.

See the docs/ directory for detailed usage on each.

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

[](#installation)

Crutches is installed via Composer. To add it to your project, simply add it to your composer.json file:

```
{
    "require": {
        "glynnforrest/crutches": "0.4.*"
    }
}
```

And run composer to update your dependencies:

```
curl -s http://getcomposer.org/installer | php
php composer.phar update
```

License
-------

[](#license)

MIT

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

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

Recently: every ~79 days

Total

10

Last Release

4109d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/578458?v=4)[Glynn Forrest](/maintainers/glynnforrest)[@glynnforrest](https://github.com/glynnforrest)

---

Top Contributors

[![glynnforrest](https://avatars.githubusercontent.com/u/578458?v=4)](https://github.com/glynnforrest "glynnforrest (127 commits)")

---

Tags

listbitmaskdotarrayroman-numerals

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/glynnforrest-crutches/health.svg)

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

###  Alternatives

[phpcollection/phpcollection

General-Purpose Collection Library for PHP

96864.5M34](/packages/phpcollection-phpcollection)[ihor/nspl

Non-standard PHP library (NSPL) - functional primitives toolbox and more

375369.1k](/packages/ihor-nspl)[topshelfcraft/supersort

...a super-duper sorting function for your Craft templates.

4187.8k1](/packages/topshelfcraft-supersort)[yaroslavche/bitmask

BitMask, EnumBitMask

3456.9k1](/packages/yaroslavche-bitmask)[philippemarcmeyer/fieldslinker

Designed for matching files headers to database fields during the process importing. Allows drawing links between elements of 2 lists.

2385.6k](/packages/philippemarcmeyer-fieldslinker)[graze/sort

A collection of array sorting transforms and functions

11295.5k2](/packages/graze-sort)

PHPackages © 2026

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