Skip to content

kl3ryk/bootstrap-bundle

Repository files navigation

BcBootstrapBundle == ===============

By Florian Eckerstorfer

Build Status

About

BcBootstrapBundle is Bootstrap, from Twitter encapsulated in a Symfony2 bundle.

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., 1.3.*.

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

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

        return $bundles;
    }
    ...
}

Download Assets

This bundle does no longer contain the asset files from Twitter Bootstrap (images, stylesheets and JavaScripts). The best way to include those assets is to add Twitter Bootstrap to your composer.json:

{
   "require": {
        "twitter/bootstrap": "2.3.*"
    }
}

You can find a detailed description in the documentation.

More Information

Check out the documentation to find out how you can use BraincraftedBootstrapBundle in your Symfony2 project.

Compatibility

  • BraincraftedBootstrapBundle v1.3.*
    • Twitter Bootstrap v2.3.*
    • Symfony 2.2.*

License

About

Adding Bootstrap from Twitter to your Symfony2 project is now as easy as pie.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%