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.
Nested Set Model for Laravel 10.0 and up (fork with patches for Lychee)
How can I help you explore Laravel packages today?