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/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,862 | 2,865 | 158 | 563K | 2 | 44.1 | 35.8 | MIT | 3 months ago | |
| gzero/eloquent-tree | 0.86 | — | 131 | 134 | 21 | 497 | 2 | 3.2 | 9.3 | MIT | 7 years ago | |
| jiaxincui/closure-table | 0.84 | — | 112 | 113 | 22 | 89 | 0 | 24.2 | 4.0 | MIT | 2 months ago | |
| toponepercent/baum | 0.84 | — | 31 | 33 | 9 | 2K | 2 | 17.2 | 29.6 | MIT | 4 months 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,226 | 2,257 | 451 | 20K | 129 | 44.7 | 38.6 | 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 | 53K | 35 | 16.9 | 40.4 | NOASSERTION | 11 years ago | |
| trilote/baum | 0.83 | — | 0 | 0 | 0 | 477 | 0 | 0.0 | 37.0 | 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 | 238 | 11 | 2K | 1 | 25.2 | 16.3 | MIT | 2 months 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 | 197 | 1 | 19.4 | 29.2 | — | 1 month ago | |
| 15web/filament-tree | 0.82 | — | 23 | 23 | 8 | 2K | 3 | 2.4 | 27.7 | MIT | 1 year ago | |
| nevadskiy/laravel-tree | 0.82 | — | 67 | 67 | 7 | 3K | 5 | 6.3 | 24.0 | MIT | 1 year ago | |
| baril/bonsai | 0.82 | — | 35 | 35 | 0 | 902 | 0 | 23.9 | 22.9 | — | 1 week ago | |
| gazsp/baum | 0.82 | — | 130 | 132 | 38 | 2K | 19 | 7.8 | 23.5 | MIT | 6 years ago | |
| sowork/tlrv | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| typicms/nestablecollection | 0.80 | — | 88 | 91 | 28 | 4K | 2 | 25.3 | 25.1 | MIT | 3 months ago | |
| staudenmeir/laravel-adjacency-list | 0.79 | 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,566 | 1,568 | 114 | 228K | 5 | 38.3 | 35.4 | MIT | 2 months ago | |
| baks-dev/materials-category | 0.79 | Laravel/PHP модуль «Materials Category» для каталога сырья: управление категориями и структурами материалов, интеграция с baks-dev/materials-catalog. Установка через Composer, тесты PHPUnit (group=materials-category). PHP 8.4+. MIT лицензия. | 0 | 0 | 0 | 8 | 0 | 19.0 | 15.3 | MIT | 1 month ago | |
| wsmallnews/filament-nestedset | 0.79 | — | 19 | 19 | 5 | 1K | 0 | 25.4 | 28.8 | MIT | 2 weeks 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 | 14.8 | 53.1 | MIT | 3 months ago | |
| baks-dev/article-category | 0.78 | — | 0 | 0 | 0 | 0 | 0 | 14.0 | — | MIT | 3 months ago |
How can I help you explore Laravel packages today?