composer.json
This is a basic form example using a DTO, there are some constraints. The browser validation is deactivated, so you can easily test the server side validation.
* = required fields