Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qossmic/rich-model-forms-bundle
Provides additional data mappers that ease the use of the Symfony Form component with rich models.
https://github.com/qossmic/rich-model-forms-bundle
form forms symfony symfony-bundle
Last synced: 3 days ago
JSON representation
Provides additional data mappers that ease the use of the Symfony Form component with rich models.
- Host: GitHub
- URL: https://github.com/qossmic/rich-model-forms-bundle
- Owner: qossmic
- License: mit
- Created: 2018-06-15T18:16:23.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T14:18:22.000Z (3 months ago)
- Last Synced: 2024-12-13T11:03:22.037Z (10 days ago)
- Topics: form, forms, symfony, symfony-bundle
- Language: PHP
- Size: 285 KB
- Stars: 217
- Watchers: 11
- Forks: 11
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Rich Model Forms Bundle
=======================[![StandWithUkraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)
[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)
## A message to Russian 🇷🇺 people
If you currently live in Russia, please read [this message](./ToRussianPeople.md).
The Rich Model Forms Bundle enhances the [Symfony Form component](https://symfony.com/doc/current/forms.html) with
useful options that ease the work with rich domain models.Installation
------------Use Composer to install the bundle:
```bash
$ composer require qossmic/rich-model-forms-bundle
```When using Symfony Flex, the bundle will be enabled automatically. Otherwise, you need to make sure that the bundle is
registered in your application kernel.Usage
-----The bundle currently supports the following use cases:
* [Differing Property Paths For Reading And Writing](docs/mapping.md)
* [Support for constructors with arguments and for value objects](docs/factory_value_object.md)
* [Enhanced exception handling](docs/exception_handling.md)
Resources
---------* Video - [SymfonyCon Lisbon 2018: Symfony Form Rich Domain Models - Video](https://symfonycasts.com/screencast/symfonycon2018/symfony-forms-rich-domain-models)
* Slide deck - [SymfonyCon Lisbon 2018: Symfony Form Rich Domain Models - Slides](https://speakerdeck.com/el_stoffel/using-symfony-forms-with-rich-domain-models)