napas/form-extra-bundle
Composer 安装命令:
composer require napas/form-extra-bundle
包简介
Symfony2 extra form field types
README 文档
README
Extra fields for Symfony2 forms.
Instalation
Add this bundle to your composer.json file:
{
"require": {
"napas/form-extra-bundle": "~0.1"
}
}
Register the bundle in app/AppKernel.php:
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Napas\FormExtraBundle\NapasFormExtraBundle(),
);
}
Done!
Field types
##US States choice field
Usage
$builder->add('State', 'us_states');
统计信息
- 总下载量: 5.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-06-28