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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| aimeos/laravel-nestedset | 0.88 | Laravel nested set package for storing and querying hierarchical data as trees. Adds tree support to Eloquent models with fast ancestor, descendant, sibling, and depth queries via left/right indexes, plus simple APIs for moving nodes and rebuilding trees. | 39 | — | 1 | — | 0 | 0.2 | — | — | — |
|
| efureev/laravel-trees | 0.88 | Laravel Trees adds nested-set tree support to Eloquent models, making it easy to build, query, move, and reorder hierarchical data like categories or menus with efficient ancestor/descendant operations and a simple API. | 144 | — | 21 | — | 0 | 19.2 | — | NOASSERTION | 1 month ago | |
| gzero/eloquent-tree | 0.88 | — | 131 | 134 | 21 | 299 | 2 | 3.2 | 7.1 | MIT | 8 years ago | |
| paxha/laravel-recursive-relationships | 0.87 | Laravel package for defining and working with recursive relationships in Eloquent models—query parent-child hierarchies, trees, and nested structures with ease. (Approx 160 chars - need closer to 300) Let me expand to ~300 chars: Laravel package for defining and querying recursive relationships in E... | 27 | 27 | 5 | 898 | 1 | 0.4 | 21.0 | MIT | 5 years ago | |
| aliziodev/laravel-taxonomy | 0.86 | Manage categories, tags, and any hierarchical structure in Laravel. Terms live in one table, attach to any model via a polymorphic pivot, and nested-set hierarchies keep ancestor and descendant lookups to a single query. | 245 | 245 | 11 | 5K | 0 | 29.8 | 22.0 | MIT | 4 days ago | |
| yajra/baum | 0.86 | yajra/baum adds nested set trees to Laravel Eloquent, so you can store and query hierarchical data like categories and menus. Create, move, and reorder nodes and fetch ancestors, descendants, and siblings efficiently through an intuitive ActiveRecord-style API. | 6 | 7 | 1 | 2 | 0 | 0.1 | 1.5 | MIT | — | |
| atayahmet/laravel-nestable | 0.86 | Laravel Nestable provides a simple trait for managing hierarchical Eloquent models. Build nested menus, categories, and trees with easy reordering, moving nodes, and querying parents, children, and descendants. | 212 | 227 | 48 | 40 | 3 | 1.8 | 1.0 | MIT | 10 years ago | |
| arcanedev/laravel-nestedset | 0.85 | Laravel Nested Set offers an efficient way to store and query hierarchical data using the nested set model, with a fluent API for creating, moving, and traversing trees and fast ancestor/descendant lookups without recursive queries. | 5 | 6 | 1 | 21 | 0 | 0.1 | 9.0 | MIT | 9 years ago | |
| webx-ui/nested-set | 0.85 | A Laravel package for managing hierarchical data with the nested set model, offering tree-friendly operations for building, querying, and organizing parent-child records in Eloquent models. | 0 | 0 | 0 | 848 | 0 | 0.0 | 40.5 | MIT | — | |
| toponepercent/baum | 0.85 | Baum is a Nested Set implementation for the Laravel Eloquent ORM, making it easy to store, traverse and query hierarchical data such as categories, menus and trees with efficient single-query reads. Supports Laravel 5.8 through 13. | 32 | 33 | 8 | 4K | 0 | 16.7 | 32.3 | MIT | 4 months ago | |
| lunarphp/nestedset | 0.85 | A Laravel package for working with nested set trees. Store and query hierarchical data such as categories, menus, and org structures efficiently, with support for creating, moving, and reordering nodes using left and right indexes. Ideal for fast ancestry and descendant lookups. | 1 | — | 0 | — | 0 | 12.4 | — | MIT | 5 months ago | |
| lychee-org/nestedset | 0.84 | Lychee's Nested Set package brings the nested set model to Laravel's Eloquent, so you can store and query hierarchical data—trees, categories, menus—with fast ancestor and descendant lookups and an expressive API for creating, moving, and traversing nodes. | 1 | 1 | 2 | 10K | 0 | 18.2 | 59.1 | — | 1 month ago | |
| 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. | 445 | 449 | 124 | 56K | 35 | 16.9 | 40.6 | NOASSERTION | 11 years ago | |
| typicms/nestablecollection | 0.84 | — | 88 | 91 | 28 | 5K | 2 | 17.6 | 25.6 | MIT | 7 months ago | |
| aiman/nest-tool | 0.84 | A Laravel package for working with nested set hierarchical data, offering helpers to create, move, and query tree nodes so you can manage categories, menus, and other parent-child structures with efficient ancestor and descendant lookups. | 2 | 2 | 6 | 4K | 0 | 0.3 | 42.8 | — | 6 years ago | |
| mindy/orm-nested-set | 0.83 | Nested set behavior for the Mindy ORM, making it easy to store and query hierarchical data in PHP. Supports tree creation, node moves, ancestor and descendant lookups, and efficient subtree queries with minimal database overhead. | 1 | 2 | 0 | 6 | 0 | 0.0 | 8.3 | MIT | — | |
| wsmallnews/filament-nestedset | 0.83 | Filament nestedset tree plugin built on kalnoy/nestedset, with multi-language and multi-tenancy support, unlimited nesting levels, tabbed switching, and a parent select field for elegant tree management. | 22 | 22 | 6 | 3K | 1 | 23.3 | 32.5 | MIT | 2 months ago | |
| designmynight/laravel-recursive-collection | 0.83 | A Laravel package that adds recursive helpers to collections for working with nested, tree-like data. Easily flatten, traverse, filter, and transform structures such as menus, categories, and threaded comments using simple chainable methods, keeping your code clean and readable. | 8 | 8 | 2 | 579 | 0 | 12.9 | — | MIT | 4 months ago | |
| tadcka/tree | 0.82 | tadcka/tree is a PHP package for managing hierarchical tree structures, with support for defining nodes, parent-child relationships, traversal, and nested data organization. It helps integrate reusable tree logic into Laravel or plain PHP applications. | 0 | 0 | 1 | 1 | 0 | 0.0 | 4.2 | MIT | 9 years ago | |
| solution-forest/filament-nestable-tree | 0.82 | 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. | 7 | 7 | 0 | 7K | 0 | 12.0 | 44.4 | MIT | 5 months ago |
How can I help you explore Laravel packages today?