lychee-org/nestedset
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| toponepercent/baum | 0.87 | 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 | |
| dagasmart/nestedset | 0.86 | 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 |
|
| baum/baum | 0.86 | 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 | — | |
| arcanedev/laravel-nestedset | 0.86 | 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 | |
| jiaxincui/closure-table | 0.85 | Closure table implementation for Laravel Eloquent models, adding fast hierarchical tree queries and operations—ancestors, descendants, siblings, moving nodes—without recursive queries. Simple trait integration with support for multiple trees. | 111 | 113 | 22 | 89 | 0 | 25.6 | 4.0 | MIT | 1 month ago | |
| umbrellio/laravel-ltree | 0.85 | Laravel integration for PostgreSQL ltree that brings hierarchical tree data to Eloquent models. Provides migrations, path helpers, and query scopes for ancestors, descendants, and subtree traversal, making tree-structured data easy to store and search. | 35 | 35 | 13 | 1K | 1 | 1.3 | 23.3 | MIT | 1 year ago | |
| efureev/laravel-trees | 0.85 | 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 | |
| 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 | 890 | 0 | 0.0 | 40.8 | MIT | — | |
| aiman/nest-tool | 0.85 | 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 | |
| cartalyst/nested-sets | 0.85 | Cartalyst Nested Sets adds an efficient nested set implementation to Laravel Eloquent models, making it easy to store, query, and manipulate hierarchical data with fast ancestor, descendant, and tree operations via a simple trait. | 2 | 2 | 1 | 0 | 0 | 0.3 | — | NOASSERTION | 5 years 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 | |
| bluem/tree | 0.85 | 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 | — | — | — |
|
| mindy/orm-nested-set | 0.85 | 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 | — | |
| kalnoy/nestedset | 0.85 | 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 | |
| franzose/closure-table | 0.85 | Closure table implementation for Laravel that turns flat tables into efficient hierarchical trees. Query ancestors and descendants in one call, move nodes without rebuilding the tree, and keep parent-child relationships fast, simple, and scalable. | 462 | 466 | 107 | 44K | 14 | 15.5 | 36.3 | MIT | 9 months ago | |
| yajra/baum | 0.84 | 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 | — | |
| gazsp/baum | 0.84 | — | 130 | 133 | 38 | 2K | 19 | 7.8 | 22.5 | MIT | 6 years ago | |
| staudenmeir/laravel-adjacency-list | 0.84 | 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 | |
| novius/laravel-nova-order-nestedset-field | 0.84 | A Laravel Nova field for ordering nested set models. Drag and drop tree nodes, move items between parents, and reorder siblings, backed by nested set logic. Configurable depth, sibling or free ordering, and smooth integration with Nova resource forms and index views. | 23 | 23 | 12 | 830 | 2 | 11.5 | 23.3 | — | 5 months ago | |
| aimeos/laravel-nestedset | 0.84 | 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 | — | — | — |
|
How can I help you explore Laravel packages today?