codewithdennis/filament-select-tree
Adopt If:
getTreeUsing() for full control).Look Elsewhere If:
Select or MultiSelect).Select field may suffice."This package lets us replace confusing multi-step dropdowns with a visual, searchable tree for hierarchical data—like organizing products by categories or employees by departments. It’s a plug-and-play solution that cuts development time by 30–50% while improving user experience. For example, an e-commerce team could assign products to nested categories in seconds instead of minutes, reducing errors and speeding up launches. The MIT license and active maintenance make it a low-risk choice."
ROI Highlights:
*"This is a Filament-native hierarchical select field built on TreeSelect.js, offering:
Select fields with tree support.BelongsTo, BelongsToMany) or custom queries.getTreeUsing() with pagination.Example Use Case:
// Replace this:
Select::make('category_id')->options(Category::all()->pluck('name', 'id')),
// With this:
SelectTree::make('categories')
->relationship('categories', 'name', 'parent_id')
->searchable()
->enableBranchNode(); // Allow selecting parent groups
Dependencies: Only requires Filament 3.x/4.x and Laravel. No jQuery or heavy JS libraries."*
Trade-offs:
How can I help you explore Laravel packages today?