Home

Awesome

BraincraftedBootstrapBundle

BraincraftedBootstrapBundle helps you integrate Bootstrap in your Symfony2 project. BootstrapBundle also supports the official Sass port of Bootstrap and Font Awesome.

Build Status Scrutinizer Quality Score Code Coverage

Latest Stable Version Total Downloads

Developed by Florian Eckerstorfer and amazing contributors.

Installation

First you need to add braincrafted/bootstrap-bundle to composer.json:

{
   "require": {
        "braincrafted/bootstrap-bundle": "dev-master"
    }
}

Please note that dev-master points to the latest release. If you want to use the latest development version please use dev-develop. Of course you can also use an explicit version number, e.g., 2.1.*.

You also have to add BraincraftedBootstrapBundle to your AppKernel.php:

// app/AppKernel.php
//...
class AppKernel extends Kernel
{
    //...
    public function registerBundles()
    {
        $bundles = array(
            ...
            new Braincrafted\Bundle\BootstrapBundle\BraincraftedBootstrapBundle()
        );
        //...

        return $bundles;
    }
    //...
}

Additionally you have to install Bootstrap and jQuery as dependencies and configure Assetic to compile the LESS files. You can find more information in the Getting Started section of the documentation.

Compatibility

This bundle has two main dependencies, Symfony and Bootstrap. The following table shows which version of BraincraftedBootstrapBundle is compatible with which version of Symfony and Bootstrap.

<table> <thead> <tr> <th>BootstrapBundle</th> <th>Symfony</th> <th>Bootstrap</th> <th>jQuery</th> </tr> </thead> <tbody> <tr> <td><strong>v1.3.*</strong></td> <td>v2.2.*</td> <td>v2.3.*</td> <td>v1.9.*</td> </tr> <tr> <td><strong>v1.4.*</strong></td> <td>v2.2.*</td> <td>v2.3.*</td> <td>v1.9.*</td> </tr> <tr> <td><strong>v1.5.*</strong></td> <td>v2.2.*</td> <td>v3.0.* (very basic)</td> <td>v1.9.*</td> </tr> <tr> <td><strong>v2.0.*</strong><br><strong>v2.1.*</strong></td> <td>v2.3.*<br>v2.4.*</td> <td>v3.0.*<br>v3.1.*</td> <td>v1.10.*<br>v1.11.*</td> </tr> <tr> <td><strong>v2.1.*</strong></td> <td>v2.3.*<br>v2.4.*<br>v2.5.*</td> <td>v3.0.*<br>v3.1.*<br>v3.2.*<br>sass v3.2.*</td> <td>v1.10.*<br>v1.11.*</td> </tr> <tr> <td><strong>v2.2.*</strong></td> <td>v2.3.*<br>v2.4.*<br>v2.5.*<br>v2.6.*<br>v2.7.*<br>v2.8.*<br>v3.0.*</td> <td>v3.0.*<br>v3.1.*<br>v3.2.*<br>sass v3.2.*</td> <td>v1.10.*<br>v1.11.*</td> </tr> </tbody> </table>

Changelog

Version 2.2.0 (23 January 2016)

Version 2.1.2 (6 March 2015)

Version 2.1.1 (31 January 2015)

Version 2.1.0 (31 August 2014)

Version 2.1.0-beta2 (21 August 2014)

Version 2.1.0-beta1 (29 May 2014)

Version 2.1.0-alpha1 (16 May 2014)

Version 2.0.1 (3 April 2014)

Version 2.0.0-alpha1

Version 2.0.0-alpha2

Version 2.0.0-alpha3

Version 2.0.0-beta1

Version 2.0.0-beta2 (9 December 2013)

Version 2.0.0-stable (2 January 2014)

Version 1.5.0

Version 1.4.0

Version 1.2.0

License