PHPackages                             malirobot/sonata-form-builder - 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. [Admin Panels](/categories/admin)
4. /
5. malirobot/sonata-form-builder

ActiveSymfony-bundle[Admin Panels](/categories/admin)

malirobot/sonata-form-builder
=============================

A drag&amp;drop form builder for sonata admin

v0.20(8y ago)130MITJavaScript

Since Nov 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/MaliRobot/sonata-form-builder)[ Packagist](https://packagist.org/packages/malirobot/sonata-form-builder)[ Docs](https://github.com/pirasterize/sonata-form-builder)[ RSS](/packages/malirobot-sonata-form-builder/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (22)Used By (0)

Sonata Form Builder
===================

[](#sonata-form-builder)

A Drag &amp; Drop Form builder inspired from the Git package and adapted for Sonata-Admin with bootstrap v3 and Jquery

You need Bootstrap v3 and Jquery on your Javascript/CSS requirements and a recent Sonata Admin installation.

[![Screenshot](Resources/doc/images/Form_Builder_screenshot.png)](Resources/doc/images/Form_Builder_screenshot.png)

---

\##Install the bundle

\###Step 1: Download the bundle

You can download and put on your /src directory (like this src/Malirobot/FormBuilderBundle) or insert on your vendor directory with the follow command :

```
 php -dmemory_limit=1G ./composer.phar require  pirasterize/sonata-form-builder
```

If you have a &gt;minimum-stability&lt; error is because your symfony installation accept only stable packages. Edit composer.json file and change "minimum-stability" from "stable" to "dev" :

```
    ...
    "minimum-stability": "dev",
    ...

```

\###Step 2: Enable the bundle

Insert the follow line on your AppKernel.php in your symfony :

```
    class AppKernel extends Kernel
    {
        public function registerBundles()
        {
            $bundles = array(
                // ...

                 new Gregwar\CaptchaBundle\GregwarCaptchaBundle(),
                 new Malirobot\FormBuilderBundle\PirastruFormBuilderBundle()
            );

            // ...
        }

        // ...
    }
```

\###Step 3: Configuration

Add the following configuration to your `app/config/config.yml`:

```
    gregwar_captcha: ~
```

Add the following configuration to your `app/config/parameters.yml`:

```
    formbuilder_email_from: jeanmichel@basquiat.com
```

\###Step 4: Setup the database schema

```
    $php app/console doctrine:schema:update --force
```

\###Step 5: Setup the routing

Append the following code to app/config/routing.yml or better to separate app/config/routing\_admin.yml :

```
sonata_form_builder:
    resource: '@MalirobotFormBuilderBundle/Controller/FormBuilderController.php'
    type:     annotation
```

\###Step 6: Sonata admin setup

In order to have on your list of Admin entities the Form Builder you must put on your configuration file (this case app/config/sonata/sonata\_admin.yml), inside of the directive of 'sonata\_admin' the follow code :

```
sonata_admin:
    ....
    dashboard:
        ....
        groups:
            ...
            sonata.admin.group.formbuilder:
                label: Form Builder
                items:
                    - malirobot_form_builder.admin
```

\###Step 7: Sonata blocks setup

In order to have on the list of blocks the Form Builder Block available on a page put on your configuration file (app/config/sonata/sonata\_block.yml) the follow line :

```
sonata_block:
    ....
    blocks:
        ....
        malirobot_form_builder.block:
```

\###Step 8: Install assets

Run the follow command on your console to install assets :

```
    $php app/console  assets:install
```

\##To see the result

Check on your Sonata Admin Entities you should see the 'Form Builder' Menu than create a new drag&amp;drop form. After that create a page from sonata page or edit an existing one and put from the list of available blocks the block called "Form Builder Drag&amp;Drop". On Options choose the Form you just created, and take a look on the page.

\##Todo

- Fields in differents sizes
- Translations
- tests
- remove form fields that are not needed in export - Button/Captcha/Privacycheck

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 72.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Recently: every ~53 days

Total

21

Last Release

3211d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7827458?v=4)[Milos Trifunovic](/maintainers/malirobot)[@MaliRobot](https://github.com/MaliRobot)

---

Top Contributors

[![pix-art](https://avatars.githubusercontent.com/u/1973973?v=4)](https://github.com/pix-art "pix-art (51 commits)")[![pirasterize](https://avatars.githubusercontent.com/u/8769656?v=4)](https://github.com/pirasterize "pirasterize (19 commits)")

---

Tags

Symfony2builderformadminprojectsonatadragdrop

### Embed Badge

![Health badge](/badges/malirobot-sonata-form-builder/health.svg)

```
[![Health](https://phpackages.com/badges/malirobot-sonata-form-builder/health.svg)](https://phpackages.com/packages/malirobot-sonata-form-builder)
```

###  Alternatives

[pirasterize/sonata-form-builder

A drag&amp;drop form builder for sonata admin

182.9k](/packages/pirasterize-sonata-form-builder)[sonata-project/admin-bundle

The missing Symfony Admin Generator

2.1k19.4M312](/packages/sonata-project-admin-bundle)[picoss/sonata-extra-admin-bundle

Sonata Extra admin features

1862.5k](/packages/picoss-sonata-extra-admin-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
