PHPackages                             idci/extra-form-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. idci/extra-form-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

idci/extra-form-bundle
======================

Symfony bundle that expand existing FormType feature to allow a dynamic form generation

v6.0.0(3y ago)565.6k↓50%1[1 PRs](https://github.com/IDCI-Consulting/ExtraFormBundle/pulls)MITPHPPHP ^7.2|^8.0CI failing

Since Jan 25Pushed 2y ago11 watchersCompare

[ Source](https://github.com/IDCI-Consulting/ExtraFormBundle)[ Packagist](https://packagist.org/packages/idci/extra-form-bundle)[ RSS](/packages/idci-extra-form-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (17)Versions (49)Used By (0)

ExtraFormBundle
===============

[](#extraformbundle)

ExtraFormBundle is a Symfony bundle that expand existing FormType features to allow dynamic forms generation.

This bundle provide:

- A builder to generate forms from a configuration array. This allow you to configure your forms in any format convertible in an array (yaml, json, etc) and dynamically generate your forms.
- A set of extra types (iban, captcha..) ready to use.
- An api that exposes all symfony form types as 'extra form types'
- An api that exposes all symfony validation constraints as 'extra form constraints'

[![SensioLabsInsight](https://camo.githubusercontent.com/e03d58fb057c5292d48646c7bb2bd4d1c4b995688e5bbd8045bb9802fbee8f5a/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36623136333437362d363464612d343530612d386333342d3362316535323235626465322f6d696e692e706e67)](https://insight.sensiolabs.com/projects/6b163476-64da-450a-8c34-3b1e5225bde2)[![Build](https://camo.githubusercontent.com/fe003a8a5e262d9756d590facedd39be461565d3543af5a600159904ce7921cd/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f494443492d436f6e73756c74696e672f4578747261466f726d42756e646c652e7376673f7374796c653d666c6174)](https://travis-ci.org/IDCI-Consulting/ExtraFormBundle)

Installation
------------

[](#installation)

Install this bundle using composer:

```
$ php composer require idci/extra-form-bundle:dev-master
```

Import the bundle configuration:

```
# app/config/config.yml

imports:
    - { resource: '@IDCIExtraFormBundle/Resources/config/config.yml' }
```

That's it, you are ready to use the [extra form builder](Resources/doc/usage.md).

Use the editor
--------------

[](#use-the-editor)

If you need the api or the editor:

```
