PHPackages                             bml/form-theme-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. bml/form-theme-bundle

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

bml/form-theme-bundle
=====================

Bundle enables ability to define form theme in form type classes.

2.0.0(5y ago)25.3kMITPHPCI failing

Since Jan 29Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (5)Used By (0)

About
-----

[](#about)

Form theme bundle enables ability to define form theme in FormType classes.

There is pull request implementing this feature awaiting review: [symfony/symfony#23990](https://github.com/symfony/symfony/pull/23990)

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

[](#installation)

1. `composer require bml/form-theme-bundle`
2. If you are not using symfony flex add `new Bml\FormThemeBundle\BmlFormThemeBundle()` to your `AppKernel.php`

Usage
-----

[](#usage)

To define form type theme define `theme` option for the form. For example in Type class:

```
class YourType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
           ->add('field')
           [...]
    }
    public function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults([
            'theme' => 'app/form/my_type_theme.html.twig'
        ]);
    }
}
```

When you call `createView()` on your form this bundle will call equivalent to `{% form_theme form 'app/form/my_type_theme.html.twig' %}` on your form in background.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~397 days

Total

4

Last Release

1840d ago

Major Versions

v1.0.1 → 2.0.02021-05-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e5c0a52427b60d57b20681bcc29929ed7921fbf99b6457070b6ea2e589e95f9?d=identicon)[bmL](/maintainers/bmL)

---

Top Contributors

[![bOmBeLq](https://avatars.githubusercontent.com/u/1465880?v=4)](https://github.com/bOmBeLq "bOmBeLq (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[artgris/filemanager-bundle

FileManager is a simple Multilingual File Manager Bundle for Symfony

182420.8k9](/packages/artgris-filemanager-bundle)[ehyiah/ux-quill

Symfony UX Bundle to use Quill JS wysiwyg text editor with full and easy customisation

5868.1k2](/packages/ehyiah-ux-quill)[boekkooi/jquery-validation-bundle

Jquery form validation bundle for symfony 2

2773.9k1](/packages/boekkooi-jquery-validation-bundle)

PHPackages © 2026

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