PHPackages                             mbh-framework/structures - 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. mbh-framework/structures

ActiveLibrary

mbh-framework/structures
========================

Common interface used by many other classes in a Mbh application that manage "collections" of data

v1.0(8y ago)314[8 issues](https://github.com/MBHFramework/structures/issues)MITPHPPHP &gt;=7.0

Since Nov 30Pushed 7y ago3 watchersCompare

[ Source](https://github.com/MBHFramework/structures)[ Packagist](https://packagist.org/packages/mbh-framework/structures)[ RSS](/packages/mbh-framework-structures/feed)WikiDiscussions 1.x Synced 2d ago

READMEChangelog (1)DependenciesVersions (13)Used By (0)

MBH Structures
==============

[](#mbh-structures)

[![Build Status](https://camo.githubusercontent.com/398bfd2c7f3d5f7850c2c65189adad248b8e99217ea9c703121a8003717ab290/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d42484672616d65776f726b2f737472756374757265732f6261646765732f6275696c642e706e673f623d312e78)](https://scrutinizer-ci.com/g/MBHFramework/structures/build-status/1.x) [![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT) [![Made in PHP 7](https://camo.githubusercontent.com/d23ce60b89c28c023d0ca69981ec9afbb17eb08a9cd1b609fd84c15d0732b7ce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372d626c75652e737667)](https://camo.githubusercontent.com/d23ce60b89c28c023d0ca69981ec9afbb17eb08a9cd1b609fd84c15d0732b7ce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372d626c75652e737667) [![Maintainability](https://camo.githubusercontent.com/767a2d54db1652e70071b17afbe8cdb4503c8c375aa5f8b22d8c9f42c1d92152/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f64373862623933356536636463356463316137382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/MBHFramework/structures/maintainability) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/3a5574382eaccfab5c5dfb03dd97313671ba53c9360e4dea8d805e1ec6fb1f06/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d42484672616d65776f726b2f737472756374757265732f6261646765732f7175616c6974792d73636f72652e706e673f623d312e78)](https://scrutinizer-ci.com/g/MBHFramework/structures/?branch=1.x) [![Code Intelligence Status](https://camo.githubusercontent.com/ca443b13a461d18be33b28665a98028f1151a404dc566246778d004662ce3b16/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d42484672616d65776f726b2f737472756374757265732f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d312e78)](https://scrutinizer-ci.com/code-intelligence) [![Total Downloads](https://camo.githubusercontent.com/f1f4cf0ef95d9ed4da0f4abd137c1dda19fcd50ac338ad86f7577d875a8ad819/68747470733a2f2f706f7365722e707567782e6f72672f6d62682d6672616d65776f726b2f737472756374757265732f646f776e6c6f616473)](https://packagist.org/packages/mbh-framework/structures)

Mbh structures contains an abstraction of many of the structures used throughout the development of the framework, giving the possibility of being used by any other developer as a mini library of data structures.

Collections
-----------

[](#collections)

Collections, with filter, map, join, sort, slice, and other methods. Well-suited for functional programming and memory-intensive applications. Runs especially fast in PHP 7.

You can read the following [file](./docs/COLLECTIONS.md) to learn how the structure works.

Tree
----

[](#tree)

In Tree you can find a basic but flexible tree data structure for php together with and an handful Builder class, that enables you to build tree in a fluent way.

You can read the following [file](./docs/TREE.md) to learn how the structure works.

Install
-------

[](#install)

structures is available on composer via packagist.

```
composer require mbh-framework/structures
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 97.3% 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 ~299 days

Total

2

Last Release

2787d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62ff59eeb5cc2ff23bef2aea71d1015357c83f7b3e3ed59718234451606f6d69?d=identicon)[ulises-jeremias](/maintainers/ulises-jeremias)

---

Top Contributors

[![ulises-jeremias](https://avatars.githubusercontent.com/u/17727170?v=4)](https://github.com/ulises-jeremias "ulises-jeremias (354 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (10 commits)")

### Embed Badge

![Health badge](/badges/mbh-framework-structures/health.svg)

```
[![Health](https://phpackages.com/badges/mbh-framework-structures/health.svg)](https://phpackages.com/packages/mbh-framework-structures)
```

PHPackages © 2026

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