Symfony2 bundle that expand existing FormType feature to allow a dynamic form generation
Add dependencies in your composer.json
file:
"require": {
...
"idci/extra-form-bundle": "dev-master"
},
Install these new dependencies in your application using composer:
$ php composer.phar update
Register needed bundles in your application kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Gregwar\CaptchaBundle\GregwarCaptchaBundle(),
new IDCI\Bundle\ExtraFormBundle\IDCIExtraFormBundle(),
);
}
Import the bundle configuration:
# app/config/config.yml
imports:
- { resource: @IDCIExtraFormBundle/Resources/config/config.yml }
- Introduction
- Architecture
- ExtraFormBuilder
- ExtraFormBuilderType
- ExtraFormType
- ExtraFormConstraint
- ConfigurationFetcher
- Configuration reference
Install bundle dependencies:
$ php composer.phar update
To execute unit tests:
$ phpunit --coverage-text