creocoder/yii2-nested-sets
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cline/ancestry | 0.85 | 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. | 1 | 0 | 0 | 2K | 0 | 16.1 | 47.8 | MIT | 3 months ago | |
| wsmallnews/filament-nestedset | 0.85 | — | 19 | 19 | 5 | 1K | 1 | 25.0 | 29.6 | MIT | 3 weeks ago | |
| staudenmeir/laravel-adjacency-list | 0.84 | 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,563 | 1,563 | 114 | 210K | 5 | 39.5 | 35.1 | MIT | 1 month ago | |
| gzero/eloquent-tree | 0.84 | — | 131 | 134 | 21 | 399 | 2 | 3.2 | 8.3 | MIT | 7 years ago | |
| toponepercent/baum | 0.84 | — | 31 | 33 | 8 | 2K | 2 | 17.5 | 29.1 | MIT | 3 months ago | |
| typicms/nestablecollection | 0.84 | — | 88 | 91 | 29 | 3K | 2 | 26.2 | 24.5 | MIT | 2 months ago | |
| jiaxincui/closure-table | 0.83 | — | 111 | 113 | 22 | 75 | 0 | 24.7 | 3.5 | MIT | 2 months ago | |
| nevadskiy/laravel-tree | 0.83 | — | 67 | 67 | 7 | 3K | 5 | 6.8 | 24.2 | MIT | 11 months ago | |
| baum/baum | 0.83 | 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,225 | 2,258 | 451 | 20K | 127 | 44.7 | 38.5 | MIT | — | |
| trilote/baum | 0.82 | — | 0 | 0 | 0 | 592 | 0 | 0.0 | 38.3 | MIT | — | |
| 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 | 3 | 0 | 335 | 1 | 19.9 | 33.0 | — | 3 weeks ago | |
| gazsp/baum | 0.82 | — | 129 | 132 | 38 | 2K | 17 | 7.2 | 23.6 | MIT | 6 years ago | |
| baril/bonsai | 0.82 | — | 35 | 35 | 0 | 904 | 0 | 20.0 | 22.3 | — | 2 months ago | |
| nicmart/tree | 0.82 | 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. | 0 | 589 | — | 593K | — | 20.2 | 46.0 | — | — | |
| awaresoft/tree-bundle | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| gedmo/doctrine-extensions | 0.80 | — | 0 | 4,162 | — | 2M | — | 71.2 | 68.5 | — | — | |
| aliziodev/laravel-taxonomy | 0.80 | 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+. | 243 | 238 | 11 | 2K | 1 | 26.4 | 15.9 | MIT | 1 month ago | |
| gbrock/laravel-table | 0.79 | — | 76 | 78 | 30 | 396 | 13 | 8.7 | 16.4 | MIT | 10 years ago | |
| kalnoy/nestedset | 0.71 | 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. | 3,800 | 3,838 | 481 | 276K | 194 | 55.5 | 49.9 | — | 1 year ago | |
| takielias/tablar-crud-generator | 0.67 | — | 31 | 31 | 6 | 208 | 2 | 23.0 | 14.0 | MIT | 1 month ago |
How can I help you explore Laravel packages today?