Forms are an integral part of web application. Add foa/filter-input-bundle and foa/filter-input-bundle to your composer.json and install the dependencies.
Usage
Inorder to create a form, we need to extend the Aura\Input\Form class and override the init() method.
An example is shown below.
Note : We are using v1 components of input, intl, filter.
Configuration
If you have type hinted in the constructor where you need App\Input\ContactForm the di is smart enough to inject the dependencies.
You can validate the form via the filter() method.
Rendering
Assuming you have passed the ContactForm object, and the variable assigned is contact_form you can use the get method on the form object to get the hints of field, and pass to input helper.