lostcause/baum
Baum is a Laravel package that implements the Nested Set pattern for hierarchical data, letting you store and query trees such as categories or menus in a single database table with efficient ancestor, descendant, and sibling lookups.
etrepat/baum.composer.json for Laravel/PHP version constraintskalnoy/nestedset unless you have a specific reason to stay on a Baum-derived implementation.composer.json and commit the lock file. Do not rely on floating constraints.moveTo, sibling reordering, deletion, and subtree moves. The release notes call out reordering issues in newer Baum versions, so assume move operations are the highest-risk area.lft, rgt, parent_id, depth) before writing application code around it.lft/rgt values before and after each moveHow can I help you explore Laravel packages today?