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

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

radicaldingos/dsfr-form-theme-bundle
====================================

A Symfony 4+ bundle integrating a Twig form theme for "Système de Design de l'État" (DSFR)

1.1(1y ago)3582↓33.3%2MITTwigPHP &gt;=7.1.3

Since Nov 11Pushed 1y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

DsfrFormThemeBundle
===================

[](#dsfrformthemebundle)

A Symfony 4+ bundle integrating a Twig form theme for "Système de Design de l'État" (DSFR).

Index
-----

[](#index)

- [Installation](#installation)
- [How to use the form theme](#how-to-use-the-form-theme)
- [Sources](#sources)

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

[](#installation)

First of all, the DSFR library needs to be installed in your project. Please refer to [DSFR](https://www.systeme-de-design.gouv.fr/comment-utiliser-le-dsfr/developpeurs/prise-en-main-du-dsfr) and [Symfony](https://symfony.com/doc/current/setup.html) documentations to install it.

Then, install the bundle with Composer:

```
composer require radicaldingos/dsfr-form-theme-bundle

```

And assure it's enabled in your `config/bundles.php` file (add this line if it's not):

```
return [
    ...
    RadicalDingos\DsfrFormThemeBundle\RadicalDingosDsfrFormThemeBundle::class => ['all' => true],
];
```

Another easiest way is just to copy the form theme file `Resources\views\Form\dsfr-form-theme.html.twig` somewhere in the *templates* folder of your project. This way is not recommended as you will not be able to update this form theme with Composer.

How to use the form theme
-------------------------

[](#how-to-use-the-form-theme)

To use this form theme in your whole project, edit the `config/packages/twig.yaml` file of your project and add it to the *form\_themes* section :

```
twig:
    form_themes:
        - '@RadicalDingosDsfrFormTheme/Form/dsfr_form_theme.html.twig'
```

Have a look at the [Symfony documentation](https://symfony.com/doc/current/form/form_customization.html#making-application-wide-customizations). Also example files are provided in this repository.

Sources
-------

[](#sources)

Have a look at the following websites and their documentation for more information about this subject.

- The [DSFR](https://www.systeme-de-design.gouv.fr/) website;
- The [Twig](http://twig.sensiolabs.org/) Template engine for PHP website;
- The [Symfony](http://symfony.com/) PHP framework website.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.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 ~672 days

Total

2

Last Release

612d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9322904?v=4)[Radical Dingos](/maintainers/radicaldingos)[@radicaldingos](https://github.com/radicaldingos)

---

Top Contributors

[![radicaldingos](https://avatars.githubusercontent.com/u/9322904?v=4)](https://github.com/radicaldingos "radicaldingos (8 commits)")[![jerome-fix](https://avatars.githubusercontent.com/u/3250390?v=4)](https://github.com/jerome-fix "jerome-fix (1 commits)")

### Embed Badge

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

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

###  Alternatives

[friendsofsymfony/ckeditor-bundle

Provides a CKEditor integration for your Symfony project.

53014.3M49](/packages/friendsofsymfony-ckeditor-bundle)[symfony/ux-twig-component

Twig components for Symfony

21914.8M162](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1635.6M72](/packages/symfony-ux-live-component)[twig/html-extra

A Twig extension for HTML

787.6M41](/packages/twig-html-extra)[iq2i/storia-bundle

UI Storia bundle

144.6k](/packages/iq2i-storia-bundle)

PHPackages © 2026

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