BraincraftedBootstrapBundle is Bootstrap, from Twitter encapsulated in a Symfony2 bundle.
First you need to add BraincraftedBootstrapBundle to composer.json
:
{
"require": {
"braincrafted/bootstrap-bundle": "dev-master"
}
}
and you have to add the bundle to your AppKernel.php
:
// app/AppKernel.php
...
class AppKernel extends Kernel
{
...
public function registerBundles()
{
$bundles = array(
...
new Braincrafted\BootstrapBundle\BraincraftedBootstrapBundle()
);
...
return $bundles;
}
...
}
Then you should check out the documentation to find out how you can use BraincraftedBootstrapBundle in your Symfony2 project.
- The bundle is licensed under the MIT License
- The CSS and Javascript from the Twitter Bootstrap are licensed under the Apache License 2.0