• Symfony >= v2.3

Use composer

composer require a2lix/auto-form-bundle

After the successful installation, add in your AppKernel.php file

// in AppKernel::registerBundles()
$bundles = array(
// ...
new A2lix\AutoFormBundle\A2lixAutoFormBundle(),
// ...
);

There is no minimal configuration. Full list:

# app/config/config.yml
a2lix_auto_form:
    excluded_fields: [id, locale, translatable]       # [1]
  • [1] Optionnal.