PHPackages                             dakinquelia/formbuilder - 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. dakinquelia/formbuilder

ActiveLibrary[Templating &amp; Views](/categories/templating)

dakinquelia/formbuilder
=======================

Système de création de formulaires.

v1.1.0(3y ago)16GPL-3.0-or-laterPHPPHP ^7.0||^8.0

Since May 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/DakinQuelia/FormBuilder)[ Packagist](https://packagist.org/packages/dakinquelia/formbuilder)[ Docs](http://www.danielchalseche.fr.cr/)[ RSS](/packages/dakinquelia-formbuilder/feed)WikiDiscussions v1.x Synced 1w ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

FormBuilder
===========

[](#formbuilder)

Ce composant permet de générer des formulaires dans votre application.

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

[](#installation)

```
composer require DakinQuelia\FormBuilder

```

Exemples d'utilisation
----------------------

[](#exemples-dutilisation)

```
$attr_form = [
    'method'        => 'POST',
    'class'         => 'form',
    'legend'        => 'Informations',
    'rowclass'      => 'row',
];

$attr_user = [
    'class'         => "form-control",
    'label'         => "Nom d'utilisateur",
];
$attr_test = [
    'class'         => "form-control",
    'label'         => "Champ test",
    'placeholder'   => 'Mon placeholder'
];

$attr_radio = [
    'label'         => "Bouton Radio",
    'class'         => "form-radio"
];

$attr_select = [
    'class'         => "form-control",
    'label'         => "Champ test",
    'options'       => [
        [
            'label' => 'Test 1',
            'value' => 'Valeur 1'
        ],
        [
            'label' => 'Test 2',
            'value' => 'Valeur 2'
        ],
        [
            'label' => 'Test 3',
            'value' => 'Valeur 3'
        ],
    ]
];

$attr_textarea = [
    'class'         => "form-control",
    'label'         => "Champ test",
    'content'       => "Mon contenu"
];

$button_submit = [
    'label'         => 'Envoyer',
    'class'         => 'button'
];

$button_cancel = [
    'label'         => 'Annuler',
    'class'         => 'button'
];

$rules = [];

$form = new Form('Titre de mon formulaire', $attr_form);
$form->AddField('username', 'text', $attr_user, $rules);
$form->AddField('test', 'text', $attr_test, $rules);
$form->AddField('radio', 'radio', $attr_radio, $rules);
$form->AddField('selection', 'select', $attr_select, $rules);
$form->AddField('message', 'textarea', $attr_textarea, $rules);
$form->AddButton('submit', 'submit', $button_submit);
$form->AddButton('canel', 'button', $button_cancel);

echo $form->Render();
```

Historique
----------

[](#historique)

#### 1.1.0 / 2022-05-31

[](#110--2022-05-31)

- Ajout du rendu des boutons
- Correction d'un bug mineur

#### 1.0.0 / 2022-05-29

[](#100--2022-05-29)

- Première version

License
-------

[](#license)

[GPL-2.0](https://opensource.org/licenses/GPL-3.0)

© 2022 - Dakin Quelia

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

Total

3

Last Release

1448d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/093ece7d0a14cb7d52da972c3b540899c095a69b0ed746f6c10e571672768e81?d=identicon)[DakinQuelia](/maintainers/DakinQuelia)

---

Top Contributors

[![DakinQuelia](https://avatars.githubusercontent.com/u/420018?v=4)](https://github.com/DakinQuelia "DakinQuelia (9 commits)")

---

Tags

formFormsmakerformbuilderform maker

### Embed Badge

![Health badge](/badges/dakinquelia-formbuilder/health.svg)

```
[![Health](https://phpackages.com/badges/dakinquelia-formbuilder/health.svg)](https://phpackages.com/packages/dakinquelia-formbuilder)
```

###  Alternatives

[kartik-v/yii2-widget-select2

Enhanced Yii2 wrapper for the Select2 jQuery plugin (sub repo split from yii2-widgets).

3279.7M191](/packages/kartik-v-yii2-widget-select2)[qossmic/rich-model-forms-bundle

Provides additional data mapper options that ease the use of the Symfony Form component with rich models.

218278.7k](/packages/qossmic-rich-model-forms-bundle)[sonata-project/form-extensions

Symfony form extensions

10915.4M40](/packages/sonata-project-form-extensions)[barryvdh/laravel-form-bridge

This packages integrates Symfony Form Component in Laravel.

163354.8k1](/packages/barryvdh-laravel-form-bridge)[kartik-v/yii2-widget-activeform

Enhanced Yii2 active-form and active-field with full bootstrap styling support (sub repo split from yii2-widgets).

647.3M62](/packages/kartik-v-yii2-widget-activeform)[lara-zeus/bolt

Zeus Bolt is form builder for your users, with so many use cases

23640.2k2](/packages/lara-zeus-bolt)

PHPackages © 2026

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