Description
Rich Model Forms Bundle is a PHP bundle for Symfony that adds data mappers to the Symfony Form component, so forms can work with rich domain models. It adds options for property paths that differ between reading and writing, support for constructors with arguments and for value objects, and enhanced exception handling. You install it with Composer. With Symfony Flex the bundle is enabled automatically, and otherwise you register it in your application kernel. The README lists the use cases the bundle covers so far. It also links resources on the topic, including a video of a SymfonyCon Lisbon 2018 talk on Symfony form rich domain models and its slide deck. The code is hosted on GitHub.…
Highlights
- Data mappers for Symfony forms with rich models
- Different property paths for reading and writing
- Constructors with arguments and value objects
- Better exception handling in forms
- Installs with Composer and Symfony Flex
Ratings & Reviews
No ratings yet
Be the first to rate Rich Model Forms Bundle.
People also visit
Simple Form
Forms made easy for Rails! It's tied to a simple DSL, with no opinion on markup
Former
A powerful form builder, for Laravel and other frameworks (stand-alone too)
Reactive Forms
This is a model-driven approach to handling form inputs and validations
Rich Model Forms Bundle FAQ
What does this bundle do?
It adds data mappers to the Symfony Form component so you can use forms with rich domain models.
How do I install it?
Install it with Composer. With Symfony Flex it is enabled automatically. Otherwise, register it in your application kernel.
Which use cases does it cover?
Differing property paths for reading and writing, constructors with arguments and value objects, and enhanced exception handling.
Where can I learn more?
The README links a SymfonyCon Lisbon 2018 talk on Symfony form rich domain models, and its slides.
What are the best Rich Model Forms Bundle alternatives?
Popular alternatives to Rich Model Forms Bundle include TranslationFormBundle, Simple Form and Laravel Form Builder. See all Rich Model Forms Bundle alternatives


