etrepat/baum
Baum is an implementation of the Nested Set pattern for Laravel's Eloquent ORM. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4869
- days_rel: n/a
- days_push: 813
- n_releases_24m: 0
Adoption not part of the score
2223 stars · 450 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Baum is a PHP library implementing the Nested Set pattern for Laravel's Eloquent ORM, enabling efficient storage and querying of hierarchical tree data. It handles the complex SQL for insertions, moves, and deletions behind the scenes, allowing fast non-recursive queries on ordered trees.
Use cases
- store hierarchical categories in Laravel with fast descendant queries
- build ordered menu trees with Eloquent models
- manage threaded comments or forum posts efficiently
- query all descendants of a node in a single SQL query
- implement nested set tree structures in a Laravel app
When to choose
- you use Laravel's Eloquent and need ordered tree data with fast reads
- your trees are large and queried frequently, e.g. menus or category trees
- you want insert/move/delete complexity handled for you
When to avoid
- you are not using Laravel or Eloquent
- your data is write-heavy with frequent tree restructuring
- you only need simple parent-child relations without ordered traversal
Facets
library · maturity maintenance
orm database web-development databases developer-tools php laravel eloquent nested-set hierarchical-data tree-structure web-server
2 sources
- readme: https://github.com/etrepat/baum · fetched 2026-08-28 · 499388fa69ac
- homepage: http://etrepat.com/baum · fetched 2026-08-29 · cf7be0641194
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| etrepat/baum | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem