misato/bootstrap-duallistbox-bundle
Composer 安装命令:
composer require misato/bootstrap-duallistbox-bundle
包简介
Easy integration of Bootstrap Duallistbox into symfony2
README 文档
README
This bundle eases integration of bootstrap-duallistbundle into your Symfony2 project.
Installation
Installation by Composer
Add BootstrapDuallistbox bundle as a dependency to the composer.json of your application
{
"require": {
...
"misato/bootstrap-duallistbox-bundle": "dev-master"
...
}
}
Activate automatic symlinking after composer update/install
{
"scripts": {
"post-install-cmd": [
"Misato\\BootstrapDuallistboxBundle\\Composer\\ScriptHandler::postInstallSymlinkBootstrapDuallistbox"
],
"post-update-cmd": [
"Misato\\BootstrapDuallistboxBundle\\Composer\\ScriptHandler::postInstallSymlinkBootstrapDuallistbox"
]
}
}
There is also a console command to check and / or install this symlink:
for less:
php app/console misato:bootstrap-duallistbox:symlink
Add BootstrapDuallistboxBundle to your application kernel.
// app/AppKernel.php <?php // ... public function registerBundles() { $bundles = array( // ... new Misato\BootstrapDuallistbox\MisatoBootstrapDuallistboxBundle(), ); }
Add bootstrap-duallistbox resources to your web folder
To copy the bootstrap-duallistbox css and javascript files to the web folder you can use the command below:
php app/console assets:install web/
统计信息
- 总下载量: 217
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2014-06-27