PHPackages                             thiagof/cobra-mptt - 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. thiagof/cobra-mptt

ActiveLibrary

thiagof/cobra-mptt
==================

Class implementing Modified Preorder Tree Traversal (Nested Sets)

0.1.3(9y ago)519[1 issues](https://github.com/thiagof/cobra-mptt/issues)PHP

Since Nov 2Pushed 1y ago3 watchersCompare

[ Source](https://github.com/thiagof/cobra-mptt)[ Packagist](https://packagist.org/packages/thiagof/cobra-mptt)[ RSS](/packages/thiagof-cobra-mptt/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

[![Build Status](https://camo.githubusercontent.com/442d519478fc296ece976360c5e1623d35d7434e2e6c9f42965768d3dd5398f7/68747470733a2f2f7472617669732d63692e6f72672f74686961676f662f636f6272612d6d7074742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/thiagof/cobra-mptt)

MPTT (Modified Preorder Tree Traversal) library for PDO
=======================================================

[](#mptt-modified-preorder-tree-traversal-library-for-pdo)

MPTT is an eficient hierarchical tree algorithm also known as **Nested Sets**.

This library ships a simple a *database interface* which allows the creation of custom database layers. This means you can use the library with any sql database orm/adapter.

Please checkout `./tests/` and `./examples/` for usage instructions.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

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

Total

2

Last Release

3478d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8448e382631ccfee597c5907258bda62205d47f8dec24588ca58cc60c6a0d218?d=identicon)[thiagof](/maintainers/thiagof)

---

Top Contributors

[![macedd](https://avatars.githubusercontent.com/u/211201?v=4)](https://github.com/macedd "macedd (40 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thiagof-cobra-mptt/health.svg)

```
[![Health](https://phpackages.com/badges/thiagof-cobra-mptt/health.svg)](https://phpackages.com/packages/thiagof-cobra-mptt)
```

PHPackages © 2026

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