vusys/laravel-nestedset
A modern Laravel nested-set implementation for hierarchical Eloquent data, featuring strict types, PHPStan level 9, atomic CASE-WHEN mutations, multi-tree scoping, and soft deletes. Supports PHP 8.3 and Laravel 11, 12, or 13.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| lychee-org/nestedset | 0.90 | 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 | |
| aiman/nest-tool | 0.89 | 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 | |
| arcanedev/laravel-nestedset | 0.88 | 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 | |
| baum/baum | 0.88 | 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 | — | |
| 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 | — | — | — |
|
| staudenmeir/laravel-adjacency-list | 0.88 | 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 | |
| webx-ui/nested-set | 0.88 | 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 | — | |
| gazsp/baum | 0.88 | — | 130 | 133 | 38 | 2K | 19 | 7.8 | 22.5 | MIT | 6 years ago | |
| novius/laravel-nova-order-nestedset-field | 0.87 | 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 | |
| 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 | |
| lunarphp/nestedset | 0.87 | 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 | |
| nicmart/tree | 0.86 | A flexible PHP tree data structure with a fluent builder API. Create nodes with any value, add or remove children, manage parents automatically, and build hierarchies easily for menus, categories, and nested data. | 574 | 586 | 61 | 912K | 5 | 27.8 | 52.4 | MIT | 1 month ago | |
| efureev/laravel-trees | 0.86 | 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 | |
| tadcka/tree | 0.86 | 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 | |
| kalnoy/nestedset | 0.86 | 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 | |
| toponepercent/baum | 0.86 | 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 | |
| typicms/nestablecollection | 0.86 | — | 88 | 91 | 28 | 5K | 2 | 17.6 | 25.6 | MIT | 7 months ago | |
| atayahmet/laravel-nestable | 0.85 | 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 | |
| nevadskiy/laravel-tree | 0.85 | — | 70 | 70 | 7 | 22K | 5 | 6.3 | 36.1 | MIT | 1 year ago | |
| spatie/laravel-model-states | 0.82 | Add state behaviour to Eloquent models by combining the state pattern and state machines. Define each state as a class, cast it on your model, handle database serialization automatically, and transition between states easily. | 1,307 | 1,309 | 107 | 659K | 0 | 40.2 | 43.9 | MIT | 2 days ago |
How can I help you explore Laravel packages today?