PHPackages                             mouf/mvc.bce - 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. mouf/mvc.bce

ActiveMouf-library[Admin Panels](/categories/admin)

mouf/mvc.bce
============

BCE is made to make your live easy. It will help you in building forms very quickly, handles form rendering, both client and server-side validation, and persistance.

v4.1.5(3y ago)618.7k5[12 issues](https://github.com/thecodingmachine/mvc.bce/issues)3MITPHPPHP &gt;=5.3.0

Since Oct 3Pushed 3y ago7 watchersCompare

[ Source](https://github.com/thecodingmachine/mvc.bce)[ Packagist](https://packagist.org/packages/mouf/mvc.bce)[ Docs](http://mouf-php.com/packages/mouf/mvc.bce/)[ RSS](/packages/mouf-mvcbce/feed)WikiDiscussions 4.1 Synced 3d ago

READMEChangelog (8)Dependencies (17)Versions (17)Used By (3)

About BCE
=========

[](#about-bce)

BCE is a form builder for the Mouf framework. Its main goal is making your life easier. It will handle the main aspects of an HTML form:

- Build the form
- Perform client **and** server side validation
- Persist data into the database

When to use BCE ?
-----------------

[](#when-to-use-bce-)

BCE should be used in order to create forms that reflect your business objects, ie BCE is very powerfull for generating the forms for your CRUDs.

Design choices
--------------

[](#design-choices)

BCE has been design in order to be quick and easy to use, and also easely customaizable :

- an advanced form configuration interface that will automatically suggest form fields, and their attributes. In a few words, creating a basic form (including validation and persistance) may take you less than 5 minute!
- Because specific needs will always come up, you may code your custom field and use it in your form quite simply.

Most simple implemetation
-------------------------

[](#most-simple-implemetation)

Once you have configured your form, you have about 3 lines to code.

### Controller

[](#controller)

```
/**
 * Edit a user
 * @URL user/edit
 * @param int $id : the id of the user to edit (null for adding a new user)
 */
public function addUser($id = null) {
    $this->userFormInstance->load($id);//load the user into the form
    ...
}

/**
 * Save a user
 * @URL user/save
 */
public function saveUser() {
    $this->userFormInstance->save();//save the user
    ...
}
```

### View (display the form)

[](#view-display-the-form)

```
$this->userFormInstance->toHtml();
```

### Result

[](#result)

[![Renderer edit form](doc/images/edit-form.png)](doc/images/edit-form.png)

> Ready to dive in? [Let's get started!](doc/quickstart.md)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 51.4% 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 ~218 days

Recently: every ~342 days

Total

17

Last Release

1164d ago

Major Versions

v3.2.1 → 4.0.x-dev2015-02-05

2.0.x-dev → v3.2.22015-12-16

v3.2.2 → v4.1.02016-01-14

3.2.x-dev → v4.1.32020-12-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1104771?v=4)[mouf](/maintainers/mouf)[@Mouf](https://github.com/Mouf)

---

Top Contributors

[![nguyenk](https://avatars.githubusercontent.com/u/2227554?v=4)](https://github.com/nguyenk "nguyenk (74 commits)")[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (38 commits)")[![vaidiep](https://avatars.githubusercontent.com/u/2227695?v=4)](https://github.com/vaidiep "vaidiep (8 commits)")[![isow](https://avatars.githubusercontent.com/u/2903627?v=4)](https://github.com/isow "isow (6 commits)")[![npeguin](https://avatars.githubusercontent.com/u/2227721?v=4)](https://github.com/npeguin "npeguin (5 commits)")[![cbalda](https://avatars.githubusercontent.com/u/6704490?v=4)](https://github.com/cbalda "cbalda (5 commits)")[![WizMik](https://avatars.githubusercontent.com/u/5702056?v=4)](https://github.com/WizMik "WizMik (2 commits)")[![HugoAverty](https://avatars.githubusercontent.com/u/1681508?v=4)](https://github.com/HugoAverty "HugoAverty (2 commits)")[![pauljeandaux](https://avatars.githubusercontent.com/u/49161774?v=4)](https://github.com/pauljeandaux "pauljeandaux (1 commits)")[![tritonjoyeux](https://avatars.githubusercontent.com/u/16247113?v=4)](https://github.com/tritonjoyeux "tritonjoyeux (1 commits)")[![homersimpsons](https://avatars.githubusercontent.com/u/16977446?v=4)](https://github.com/homersimpsons "homersimpsons (1 commits)")[![camkLcbr](https://avatars.githubusercontent.com/u/3781258?v=4)](https://github.com/camkLcbr "camkLcbr (1 commits)")

---

Tags

crudformform-builderbean

### Embed Badge

![Health badge](/badges/mouf-mvcbce/health.svg)

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

###  Alternatives

[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)

PHPackages © 2026

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