[WIP] A bundle providing UIs to create, render and validate forms
MIT License
Goal of this bundle is to provide:
There are tons of ideas where admin may need to draw a form, set a template (not necessarily a view) and then final user can give the context by filling the form. This way, user's context is mixed to admin's template and, according to a website's goal, do some stuff without any programming needs.
Some websites examples:
From the Symfony documentation:
A bundle should not embed third-party libraries written in JavaScript, CSS or any other language.
As this bundle contains a complex UI, it was too challenging for me to do it without jQuery and Twitter Bootstrap.
They are not included in the bundle.
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require <package-name> "~1"
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new <vendor>\<bundle-name>\<bundle-long-name>(),
);
// ...
}
// ...
}
For now, only the text input really works ! Well, more or less...