| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 34 | All time: 11,063 This week: 455 | ||||
| Version | License | PHP version | Categories | |||
| easyformbundle 1.0 | The PHP License | 5 | HTML, PHP 5, Libraries |
| Description | Author | |
This package can add custom form inputs for Symfony 2 form builder. |
A Symfony2 Bundle provide some extra form type.
Add EasyFormBundle in your composer.json:
{
"require": {
"xiidea/easy-form-bundle": "dev-master"
}
}
Now tell composer to download the bundle by running the command:
$ php composer.phar update xiidea/easy-form-bundle
Composer will install the bundle to your project's vendor/xiidea directory.
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Xiidea\EasyFormBundle\XiideaEasyFormBundle(),
);
}
Now you can use the registered types in ordinary way. currently available types are:
hidden_entity
you can add a "hidden_entity" field to the form as follow:
$builder
->add('fieldName', 'hidden_entity', array(
'class' => 'Acme\DemoBundle\Entity\YourEntity'
));
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Lic. | License text | |||
| Doc. | Read me | |||
| Class | Class source | |||
| / | DependencyInjection |
| File | Role | Description |
|---|---|---|
| |
Class | Class source |
| |
Class | Class source |
| / | Form | / | DataTransformer |
| File | Role | Description |
|---|---|---|
| |
Class | Class source |
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% |
|
|
| Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.