kunicmarko/form-annotation-bundle
A Symfony bundle for defining forms with annotations on your entity classes. Configure fields and form options directly in code, reduce FormType boilerplate, and build forms automatically. Useful for rapid prototyping and smaller applications.
getBlockPrefix, translation_domain, data_class, block name conventions). That pain is real and worth tracking — but the modern answer is native PHP attributes on the form type (Symfony 6.1+) or configureOptions(), not a third-party annotation reader.Adoption criteria — realistically, all of these must hold:
configureOptions() and a base abstract form type, and the remaining duplication is genuinely large (dozens of form types), not cosmetic.Look elsewhere — or do nothing — when:
configureOptions(); the package's reason to exist is gone.For executives: This is an abandoned micro-library from 2018 that saved Symfony developers a few lines of boilerplate per form. It has no users, no maintainers, and no releases in eight years. Modern Symfony absorbed its purpose into the framework itself. Recommendation: do not adopt; if it is already in the codebase, schedule removal as routine cleanup, not a project.
For engineering: The underlying need — cutting repetitive method overrides in form type classes — is legitimate, and worth a small internal abstraction. Do not source that abstraction from an archived 0-star bundle. Write a one-file AbstractType base class or use native PHP attributes (Symfony 6.1+) and configureOptions(). If the package is present in a legacy app, treat removal as part of the broader annotations-to-attributes migration, and note that forking it means owning it forever with no upstream fixes.
Bottom line: zero strategic value, nonzero ownership cost. Declined.
How can I help you explore Laravel packages today?