Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Symfony Form Tree Laravel Package

yavin/symfony-form-tree

A Symfony bundle providing a Tree form type for editing hierarchical data, such as nested collections or Doctrine tree entities, with recursive child rendering, dynamic add/remove of nodes, and standard form validation support.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature decisions: Enables hierarchical select fields for categories, org units, taxonomies, permission groups, menu parents, or location trees—without custom frontend work.
  • Roadmap: A small, tactical admin/CRUD enhancement. It can ship indented tree selection quickly in Symfony Forms, but it is not a platform differentiator.
  • Build vs. buy: “Buy” only if the product already uses Symfony Forms and the need is a simple single-select tree. Otherwise, build a minimal custom form type or adopt an established JS tree component.
  • Use cases: Parent-category selection, nested menu assignment, org-chart pickers, permission hierarchy selection, and back-office data entry where depth indentation is enough.
  • Delivery risk: Low stars and zero dependents mean the package should be evaluated as reference code or a vendored/forked dependency, not a strategic long-term dependency.
  • Stack mismatch: This is a Symfony Form package, not a Laravel-native package. In a Laravel product, adopting it likely means adding Symfony Form infrastructure for one field—usually a poor trade-off.

When to Consider This Package

  • You are already using Symfony Forms and need a simple indented select field for nested data.
  • The tree is small to moderate, preloaded, and does not require search, async loading, multi-select, drag-and-drop, or advanced accessibility.
  • You can tolerate maintenance risk: pin the version, vendor or fork the code, and add your own tests around rendering and data mapping.
  • You want to avoid building a custom form type for a narrow admin-only requirement.
  • Look elsewhere if you are on Laravel’s native validation/forms stack, need a production-grade tree UI, require active maintenance or support SLAs, or expect the tree selector to become a core workflow. In those cases, use a first-party form type, a maintained JS tree library, or a small in-house implementation.

How to Pitch It (Stakeholders)

  • Executives: A low-cost, narrow admin UX improvement—not a strategic capability. It can save a few days on hierarchical form inputs, but adoption should be capped and dependency risk managed.
  • Engineering: A small MIT Symfony package that renders tree-structured select options with indentation. It reduces custom form-type work, but low adoption means we should vendor/fork it, test it, and avoid spreading it across critical flows.
  • Recommendation: Treat it as a tactical reference or reusable implementation detail. Adopt only inside an existing Symfony Forms codebase; for Laravel-native products, build the equivalent in-house rather than pulling in Symfony Form infrastructure.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource