PHPackages                             opifer/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. opifer/form-bundle

AbandonedArchivedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

opifer/form-bundle
==================

Opifer Form Bundle

0.1.4(10y ago)01.2k21PHPPHP &gt;=5.4

Since Sep 9Pushed 10y ago6 watchersCompare

[ Source](https://github.com/Opifer/FormBundle)[ Packagist](https://packagist.org/packages/opifer/form-bundle)[ RSS](/packages/opifer-form-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (10)Versions (6)Used By (1)

[![Build Status](https://camo.githubusercontent.com/7c09642514304e33b00953991d3aba7491b826fbe0e031a3b9fd5bbcab030357/68747470733a2f2f7472617669732d63692e6f72672f4f70696665722f466f726d42756e646c652e737667)](https://travis-ci.org/Opifer/FormBundle)

Opifer FormBundle
=================

[](#opifer-formbundle)

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

[](#installation)

Add OpiferForm to your composer.json:

```
$ composer require opifer/form-bundle "~0.1"

```

Register the bundle in `app/AppKernel.php`:

```
public function registerBundles()
{
    $bundles = array(
        // ...
        new Opifer\EavBundle\OpiferEavBundle(),
        new Opifer\FormBundle\OpiferFormBundle()
    );
}
```

Install the `OpiferEavBundle` according to its [documentation](https://github.com/Opifer/EavBundle/blob/master/README.md).

Extend the Form &amp; Post models;

```
namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Opifer\FormBundle\Model\Form as BaseForm;

/**
 * @ORM\Entity()
 * @ORM\Table(name="form")
 */
class Form extends BaseForm
{

}
```

```
namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Opifer\EavBundle\Model\EntityInterface;
use Opifer\FormBundle\Model\Post as BasePost;

/**
 * @ORM\Entity()
 * @ORM\Table(name="post")
 */
class Post extends BasePost implements EntityInterface
{

}
```

Define these in the config along with your admin email:

```
opifer_form:
    from_email: noreply@yourcompany.com
    form:
        class: AppBundle\Entity\Form
    post:
        class: AppBundle\Entity\Post
```

To be able to manage and use your forms, add some routes to your `app/config/routing.yml`:

```
opifer_form:
    resource: "@OpiferFormBundle/Resources/config/routing.yml"

opifer_form_admin:
    resource: "@OpiferFormBundle/Resources/config/routing_admin.yml"
    prefix: /admin
```

Usage
-----

[](#usage)

Once you created your forms in your admin panel, you might want to display them on the frontend. To do this, you'd have to create a controller action that retrieves the form and displays it on the frontend

```
namespace AppBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class PageController extends Controller
{
    public function contactAction()
    {
        $form = $this->get('opifer.form.form_manager')->getRepository()->find(1);

        return $this->render('Page/contact.html.twig', array(
            'form' => $form
        ));
    }
}
```

```
{# app/Resources/views/Page/contact.html.twig #}

{% set form = create_form_view(form) %}
{{ form_start(form) }}
    {{ form_widget(form) }}

{{ form_end(form) }}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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 ~16 days

Total

5

Last Release

3840d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6866d9d11ab5b172391449a5751e5b7cc8840792a31d892e225e22bcd779d5ce?d=identicon)[rvanlaarhoven](/maintainers/rvanlaarhoven)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/opifer-form-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/opifer-form-bundle/health.svg)](https://phpackages.com/packages/opifer-form-bundle)
```

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[anime-db/anime-db

The application for making home collection anime

252.1k2](/packages/anime-db-anime-db)

PHPackages © 2026

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