lunarphp/nestedset
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| wsmallnews/filament-nestedset | 0.84 | 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 | |
| kalnoy/nestedset | 0.84 | 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,802 | 3,842 | 476 | 572K | 196 | 55.4 | 52.8 | — | 1 year ago | |
| dagasmart/nestedset | 0.84 | Nested set implementation for Laravel Eloquent models. Store hierarchical trees in a flat table with fast ancestor, descendant, and sibling queries, plus node moves, reordering, and tree rebuilding—no recursive queries required. | 0 | — | 0 | — | 0 | 11.3 | — | MIT | 5 months ago |
|
| toponepercent/baum | 0.83 | 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.8 | 32.2 | MIT | 4 months ago | |
| dcblogdev/laravel-nestable | 0.83 | Laravel Nestable provides a nested set implementation for hierarchical Eloquent models, making it easy to store and manage trees such as categories, menus, and comments. Create, move, reorder, and query nodes efficiently with a simple trait. | 6 | — | 2 | — | 0 | 0.4 | — | MIT | 2 years 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,217 | 2,252 | 445 | 31K | 129 | 44.4 | 40.6 | MIT | — | |
| lex/tree | 0.83 | Lex Tree is a Laravel/PHP package for working with hierarchical tree structures, helping developers model, organize, and traverse nested data with a simple, reusable API for tree-based application features. | 0 | 0 | 1 | 0 | 0 | 0.2 | — | MIT | 9 years ago | |
| gazsp/baum | 0.83 | — | 130 | 133 | 38 | 2K | 19 | 7.8 | 22.5 | MIT | 6 years ago | |
| bluem/tree | 0.83 | bluem/tree is a PHP library for building and manipulating hierarchical tree structures from flat, parent-child data. It offers node traversal, filtering, and rendering helpers, making it useful for categories, menus, and other nested data in Laravel or plain PHP projects. | 237 | — | 46 | — | 1 | 2.8 | — | — | — |
|
| yajra/baum | 0.83 | 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 | — | |
| gzero/eloquent-tree | 0.83 | — | 131 | 134 | 21 | 299 | 2 | 3.2 | 7.1 | MIT | 8 years ago | |
| aimeos/laravel-nestedset | 0.82 | 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 | — | — | — |
|
| pvsaintpe/ltree-bundle | 0.82 | pvsaintpe/ltree-bundle is a Symfony bundle for integrating PostgreSQL ltree with Doctrine, enabling hierarchical tree data storage, path-based queries, and practical tree management for PHP applications. | 10 | — | 6 | — | 2 | 0.9 | — | — | 5 years ago | |
| antares/accessible | 0.82 | — | 12 | 12 | 2 | 0 | 0 | 2.8 | — | MIT | 10 years ago | |
| nevadskiy/laravel-tree | 0.82 | — | 70 | 70 | 7 | 22K | 5 | 6.3 | 36.1 | MIT | 1 year ago | |
| staudenmeir/laravel-adjacency-list | 0.82 | Laravel Eloquent extension that adds recursive relationships for tree and graph structures using common table expressions (CTEs). Traverse categories, page hierarchies, nested comments, and more across MySQL, PostgreSQL, SQLite, SQL Server, and MariaDB. | 1,578 | 1,579 | 113 | 469K | 5 | 40.6 | 40.8 | MIT | 1 month ago | |
| typicms/nestablecollection | 0.82 | — | 88 | 91 | 28 | 5K | 2 | 17.6 | 25.6 | MIT | 7 months ago | |
| lunarphp/core | 0.81 | Core package for Lunar, a Laravel-based e-commerce platform. Provides the foundational models, database structure, and services used to build and extend storefronts and admin functionality, designed to be modular, extensible, and integrated with the Laravel ecosystem. | 7 | 8 | 12 | 48K | 0 | 0.4 | 52.2 | — | — | |
| creocoder/yii2-nested-sets | 0.81 | 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 | |
| mindy/orm-nested-set | 0.80 | 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 | — |
How can I help you explore Laravel packages today?