misato / bootstrap-duallistbox-bundle
Easy integration of Bootstrap Duallistbox into symfony2
Installs: 216
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
Suggests
- twbs/bootstrap: >2.0,<4.0-dev
- twbs/bootstrap-sass: >3.0,<4.0-dev
This package is auto-updated.
Last update: 2024-11-20 01:04:52 UTC
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/