Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/vendor/braincrafted/bootstrap-bundle/Bc/Bundle/BootstrapBundle
Julio Montoya ea18ee1495 Updating vendors 12 years ago
..
DependencyInjection Updating vendors 12 years ago
Resources Updating vendors 12 years ago
Tests/Twig Updating vendors 12 years ago
Twig Updating vendors 12 years ago
.travis.yml Updating vendors 12 years ago
BcBootstrapBundle.php Updating vendors 12 years ago
CHANGELOG.md Updating vendors 12 years ago
LICENSE Updating vendors 12 years ago
Makefile Updating vendors 12 years ago
README.md Updating vendors 12 years ago
composer.json Updating vendors 12 years ago
composer.lock Updating vendors 12 years ago
phpunit.xml.dist Updating vendors 12 years ago

README.md

BcBootstrapBundle

By Florian Eckerstorfer

Build Status

About

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

This bundle is highly opiniated by how I use Twitter Bootstrap and Symfony.

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": {
        "twbs/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 BcBootstrapBundle in your Symfony2 project.

Compatibility

  • BcBootstrapBundle v1.3.*
    • Twitter Bootstrap v2.3.*
    • Symfony 2.2.*
  • BcBootstrapBundle v1.4.*
    • Twitter Bootstrap v2.3.*
    • Symfony 2.2.*

Changelog

Version 1.4.0

  • Changed namespace to Bc\Bundle\BootstrapBundle
  • Automatically configure Twig
  • Automatically configure KnpMenuBundle
  • Automatically configure KnpPaginatorBundle
  • Automatically configure Assetic
  • Improved layout of error messages in compound fields
  • Improved code style (usage of PHP_CodeSniffer and PHPMD)
  • Support for data-prototype option in collection fields
  • Helper and template for flash messages

License