kalnoy/nestedset
Laravel Eloquent implementation of the Nested Set model for storing hierarchical data. Manage trees with fast reads: add, move, delete nodes, retrieve ancestors/descendants, build menus, and handle multiple roots with scoped trees, all via familiar model methods.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| creocoder/yii2-nested-sets | 0.83 | 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 | 54K | 35 | 16.9 | 40.5 | NOASSERTION | 11 years ago | |
| gzero/eloquent-tree | 0.82 | — | 131 | 134 | 21 | 306 | 2 | 3.2 | 7.2 | MIT | 7 years ago | |
| typicms/nestablecollection | 0.81 | — | 88 | 91 | 28 | 4K | 2 | 23.6 | 25.2 | MIT | 4 months ago | |
| nevadskiy/laravel-tree | 0.81 | — | 68 | 67 | 7 | 3K | 5 | 6.3 | 24.1 | MIT | 1 year ago | |
| wsmallnews/filament-nestedset | 0.81 | — | 21 | 21 | 5 | 1K | 0 | 24.1 | 27.4 | MIT | 1 month ago | |
| novius/filament-relation-nested | 0.80 | 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 | 58 | 1 | 17.9 | 20.7 | — | 2 months ago | |
| baum/baum | 0.79 | 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 | 451 | 15K | 129 | 44.7 | 37.0 | MIT | — | |
| toponepercent/baum | 0.79 | — | 31 | 32 | 9 | 2K | 0 | 23.3 | 30.8 | MIT | 2 weeks ago | |
| trilote/baum | 0.78 | — | 0 | 0 | 0 | 344 | 0 | 0.0 | 35.1 | MIT | — | |
| staudenmeir/laravel-adjacency-list | 0.77 | 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 | 255K | 5 | 36.5 | 35.6 | MIT | 3 months ago | |
| gazsp/baum | 0.77 | — | 130 | 133 | 38 | 2K | 19 | 7.8 | 22.0 | MIT | 6 years ago | |
| nicmart/tree | 0.74 | A lightweight, flexible tree data structure for PHP. Provides NodeInterface/Node implementations with parent/child management, leaf/child checks, and easy child add/remove/set operations. Includes fluent builder classes to assemble trees quickly. | 575 | 588 | 61 | 625K | 5 | 17.1 | 45.5 | MIT | 7 months ago |
How can I help you explore Laravel packages today?