arcanedev/laravel-nestedset
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.
arcanedev/laravel-nestedset brings the nested set model to Laravel's Eloquent ORM, letting you store and query hierarchical data—categories, menus, comments—directly in a flat database table. Nodes carry lft and rgt boundary columns, so entire trees and ancestor/descendant relationships are retrieved with a single, efficient query instead of recursive lookups.
How can I help you explore Laravel packages today?