cline/ancestry
Closure table hierarchies for Laravel Eloquent. Manage deep trees (org charts, categories) with O(1) ancestor/descendant queries, fluent APIs, configurable keys/types, events, and snapshots for point-in-time hierarchy state.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| staudenmeir/laravel-adjacency-list | 0.87 | Laravel Eloquent extension for recursive tree and graph relationships using SQL common table expressions. Traverse ancestors, descendants, and paths in adjacency-list data across MySQL, Postgres, SQLite, SQL Server, and more; supports one-to-many trees and many-to-many graphs. | 1,575 | 1,576 | 113 | 257K | 5 | 35.6 | 35.4 | MIT | 3 months ago | |
| staudenmeir/eloquent-has-many-deep | 0.86 | Laravel Eloquent extension for “deep” has-many-through relationships across unlimited intermediate models. Supports many-to-many and polymorphic paths, combinations, and some third-party packages. Define relations by concatenating existing ones or configuring keys manually. | 2,870 | 2,874 | 158 | 582K | 2 | 41.6 | 35.2 | MIT | 4 months ago | |
| gzero/eloquent-tree | 0.86 | — | 131 | 134 | 21 | 306 | 2 | 3.2 | 7.2 | MIT | 7 years ago | |
| typicms/nestablecollection | 0.85 | — | 88 | 91 | 28 | 4K | 2 | 23.0 | 25.1 | MIT | 4 months ago | |
| jiaxincui/closure-table | 0.84 | — | 112 | 114 | 22 | 108 | 1 | 22.7 | 4.7 | MIT | 4 months ago | |
| toponepercent/baum | 0.84 | — | 31 | 32 | 9 | 2K | 0 | 23.3 | 30.8 | MIT | 1 month ago | |
| baum/baum | 0.84 | Baum adds Nested Set trees to Laravel’s Eloquent ORM, enabling fast, non-recursive queries like fetching all descendants in one query. Ideal for ordered hierarchies such as menus, categories, and threaded posts, while handling complex inserts/moves/deletes automatically. | 2,224 | 2,257 | 450 | 15K | 129 | 44.6 | 37.0 | MIT | — | |
| creocoder/yii2-nested-sets | 0.84 | Yii2 Nested Sets Behavior implementing the Modified Preorder Tree Traversal algorithm for hierarchical data. Adds ActiveRecord behavior and query helpers for inserting, moving, and deleting nodes, with optional multi-tree support via a tree attribute. | 444 | 449 | 124 | 56K | 35 | 16.9 | 40.6 | NOASSERTION | 11 years ago | |
| solution-forest/filament-nestable-tree | 0.83 | Nestable drag-and-drop tree component for Filament v4/v5. Works with Eloquent (incl. kalnoy/nestedset) or static arrays, supports per-node actions, multi-tree pages, cross-tree drag-and-drop, lazy loading, and async child loading for large, complex trees. | 5 | 4 | 0 | 217 | 0 | 17.4 | 24.8 | MIT | 2 months ago | |
| trilote/baum | 0.83 | — | 0 | 0 | 0 | 344 | 0 | 0.0 | 35.1 | MIT | — | |
| aliziodev/laravel-taxonomy | 0.82 | Flexible Laravel package for managing taxonomies, categories, tags, and hierarchical trees. Includes nested-set support for fast hierarchy queries, metadata, bulk operations, caching, and custom taxonomy types. Compatible with Laravel 11+. | 244 | 244 | 12 | 2K | 0 | 29.1 | 16.1 | MIT | 2 weeks ago | |
| novius/filament-relation-nested | 0.82 | Filament package to manage Eloquent relations backed by kalnoy/nestedset. Adds a TreeRelationManager for nested tree CRUD in your admin panel, with optional actions like FixTree to repair the nested set structure. Compatible with Laravel 11, Filament 5, PHP 8.2+. | 2 | 2 | 0 | 48 | 1 | 17.9 | 20.7 | — | 2 months ago | |
| 15web/filament-tree | 0.82 | — | 23 | 23 | 9 | 2K | 3 | 2.5 | 27.5 | MIT | 1 year ago | |
| nevadskiy/laravel-tree | 0.82 | — | 68 | 67 | 7 | 3K | 5 | 6.3 | 24.4 | MIT | 1 year ago | |
| baril/bonsai | 0.82 | — | 35 | 35 | 0 | 882 | 0 | 22.6 | 22.6 | — | 1 month ago | |
| gazsp/baum | 0.82 | — | 130 | 133 | 38 | 1K | 19 | 7.8 | 21.4 | MIT | 6 years ago | |
| sowork/tlrv | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| wsmallnews/filament-nestedset | 0.79 | — | 21 | 21 | 6 | 1K | 0 | 23.7 | 27.1 | MIT | 2 months ago | |
| cline/morphism | 0.79 | Central registry for Laravel polymorphic key mapping. Define which primary key column (id/uuid/ulid) each model uses in morph relations, with migration macros, optional strict enforcement, and config-based setup—ideal for package authors. | 0 | 0 | 0 | 3K | 0 | 13.6 | 52.5 | MIT | 5 months ago | |
| baks-dev/article-category | 0.78 | — | 0 | 0 | 0 | 0 | 0 | 12.1 | — | MIT | 5 months ago |
How can I help you explore Laravel packages today?