By default Symfony2 provide form component, GOSFormBundle is built on top. We allowed you to simply move the process executed when your form are sent. Why ? To keep your controller clean, without logic, and to have a generic structure to handle your forms.
This bundle requires Symfony2.1 at least.
Installation is very quick :)
- Download GOSFormBundle using composer
- Enable the bundle
Step 1 : Download GOSFormBundle using composer
php composer.phar require gos/form-bundle "~1.0"
Composer will install the bundle to your project's vendor/gos directory.
Enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Gos\Bundle\FormBundle\GosFormBundle(),
);
}