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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rocket/utilities

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

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 3d 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 13% 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://avatars.githubusercontent.com/u/309594?v=4)[Stéphane Goetz](/maintainers/onigoetz)[@onigoetz](https://github.com/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)
```

###  Alternatives

[citation-style-language/styles

Citation Style Language (CSL) Styless

3.8k828.3k5](/packages/citation-style-language-styles)[cerdic/css-tidy

CSSTidy is a CSS minifier

2112.1M6](/packages/cerdic-css-tidy)[fusic/maintenance

Maintenance plugin for CakePHP

4259.2k](/packages/fusic-maintenance)[techworker/ssml

A PHP library to generate SSML.

1110.1k1](/packages/techworker-ssml)

PHPackages © 2026

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