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

AbandonedArchivedLibrary

rocket/utilities
================

Utilities that don't go in any category

06PHP

Since Aug 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/RocketPropelledTortoise/Utilities)[ Packagist](https://packagist.org/packages/rocket/utilities)[ RSS](/packages/rocket-utilities/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Utilities
=========

[](#utilities)

**This is a subtree split of RocketPropelledTortoise CMS - Core. Don't send pull requests here**

**Work In Progress, do not use in production**

This repository contains all classes for RocketPropelledTortoise CMS that are not directly tied to a specific component.

`ParentChildTree`
-----------------

[](#parentchildtree)

Transform a flat representation of a tree to a nested array

From

```
 array(
    ['id' => 1, 'text' => 'parent'],
    ['id' => 2, 'text' => 'child', 'parent_id' => 1]
 );
```

To

```
array(
    ['id' => 0, 'childs' => array(
        ['id' => 1, 'text' => 'parent', 'childs' => array(
            ['id' => 2, 'text' => 'child', 'parent_id' => 1]
        )],
    )
);
``
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7766264b40bb3a40b9b2ac847b67135c59e774807a6d1e313758efcd8203603f?d=identicon)[onigoetz](/maintainers/onigoetz)

---

Top Contributors

[![onigoetz](https://avatars.githubusercontent.com/u/309594?v=4)](https://github.com/onigoetz "onigoetz (19 commits)")

### Embed Badge

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

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

PHPackages © 2026

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