webfactor/laravel-backpack-nestedmodels
This package replaces Backpack CRUD's default table view with a tree view for self-referencing (parent/child) Eloquent models. Start here if you have a model with a parent_id-style relationship and want visual hierarchy management.
Minimal steps:
composer require the package, then publish any config/views as instructed in its README (initial release, so expect a manual publish step).CrudTrait, a setup() method in its controller, etc.) and a parent/child relationship column Backpack can detect.Look first at the package's route definitions and the CRUD controller trait/method it exposes — that is where the tree/table switch lives, and it determines what you can and cannot customize.
store() request handling so the parent key from the tree action is respected rather than overwritten by defaults.edit/update routes and fields are correct, since tree actions will redirect into them.How can I help you explore Laravel packages today?