Beruflich Dokumente
Kultur Dokumente
10/3/14
Skip to content
Sign up Sign in
This repository
Explore
Features
Enterprise
Blog
Star 270
Fork 146
braincrafted/bootstrap-bundle
Code
Issues 11
Pull Requests 1
Pulse
Graphs
1/8
braincrafted/bootstrap-bundle GitHub
10/3/14
Tags
1.5
2.0
2.1
3.0-exp
develop
gh-pages
layout-head
master
sass-font-dir
Nothing to show
v2.1.0-beta2
v2.1.0-beta1
v2.1.0-alpha1
v2.1.0
v2.0.1
v2.0.0-beta2
v2.0.0-beta1
v2.0.0-alpha3
v2.0.0-alpha2
v2.0.0-alpha1
v2.0.0
v1.5
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.2.0
v1.1.0
v1.0.2
v1.0.1
v1.0.0
Nothing to show
bootstrap-bundle /
Merge pull request #301 from mumia/issue300/generatorFailsForCustomVa
riable.less
Proposal for fixing custom bootstrap.less generator
Fixed typo.
DependencyInjection
Form
https://github.com/braincrafted/bootstrap-bundle
16 days
ago
4 months
ago
a month
ago
a month
ago
2/8
braincrafted/bootstrap-bundle GitHub
10/3/14
Resources
Session
Tests
Fix test
Twig
Update BootstrapIconExtension.php
Util
Fixed CS
.gitignore
.scrutinizer.yml
.travis.yml
README
CONTRIBUTING.md
LICENSE
Updated PHPDocs
README.md
composer.json
phpunit.xml.dist
a month
ago
7 months
ago
16 days
ago
2 months
ago
11 months
ago
a month
ago
11 months
ago
a month
ago
11 months
ago
2 years
ago
10 months
ago
a year ago
a month
ago
16 days
ago
11 months
ago
README.md
BraincraftedBootstrapBundle
BraincraftedBootstrapBundle helps you integrate Bootstrap in your Symfony2 project. BootstrapBundle
also supports the official Sass port of Bootstrap and Font Awesome.
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"
}
}
https://github.com/braincrafted/bootstrap-bundle
3/8
braincrafted/bootstrap-bundle GitHub
10/3/14
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.
BootstrapBundle Symfony
Bootstrap
jQuery
v1.3.*
v2.2.*
v2.3.*
v1.9.*
v1.4.*
v2.2.*
v2.3.*
v1.9.*
v1.5.*
v2.2.*
v3.0.* (very basic) v1.9.*
v2.0.*
v2.3.*
v3.0.*
v1.10.*
v2.1.*
v2.4.*
v3.1.*
v1.11.*
v3.0.*
v2.3.*
v3.1.*
v1.10.*
v2.1.*
v2.4.*
v3.2.*
v1.11.*
v2.5.*
sass v3.2.*
Changelog
Version 2.1.0 (31 August 2014)
#298 Fixed path to assets dir in bootstrap-sass v3.2 (by florianeckerstorfer)
4/8
braincrafted/bootstrap-bundle GitHub
florianeckerstorfer)
#241 Remove wrong button spacing when collection is empty (by sandello-alkr)
#241 Make web directory configurable in install command (by florianeckerstorfer)
#245 Add support for symfony-bin-dir (by nifr)
#249 Add nav class based on depth (by bkosborne)
#251 Add support for static form controls (by bdm-benzor)
#252 Fix behaviour when label = false (by rdohms)
#254 Remove whitespace in menu root block (by dirkluijk)
#260 Updated default jQuery path (by sprankhub)
#263 Fixed global error CSS class (by althaus)
#266 Fix column size of label is false (by jeroenvds)
#274 Added missing space in `bootstrap-collection (by bdm-benzor)
#275 Add help text to single checkbox and radio (by bostaf)
#276 Add support for leafo/scssphp (by stefanosala)
#279 Do not render value in file widget (by florianeckerstorfer)
#281 Add additional CSS classes to icons (by wodka)
#283 Make icon tag configurable (by wodka)
#286 Add support for form actions (by derpue)
#287 Add support for input group buttons (by rdohms)
#289 Removed trailing whitespace for checkbox and radio widget (by morticue)
#290 Add form type for static control (by derpue)
10/3/14
5/8
braincrafted/bootstrap-bundle GitHub
Version 2.0.0-alpha1
10/3/14
6/8
braincrafted/bootstrap-bundle GitHub
10/3/14
#133: Fix label_col, widget_col, col_size and simple_col options in collection widgets
#136: Added translation to bootstrap_collection widget
#137: Removed cssrewrite filter from default Assetic configuration
#139: Fix JavaScript for nested bootstrap_collection widgets (by wizart)
#140: Improved dependency list in composer.json (by hason)
#142: Added translation for help block and error messages
#143: Added translation to flash message template (by rdohms)
#144: Fix class attribute for checkbox widget (by squaye85)
#145: Added possibility to style global error messages
Renamed customize_variables configuration option into customize
Version 2.0.0-stable (2 January 2014)
#152: Add form name attribute (by nonlux)
#154: Fix Bootstrap Collection form type for nested types
#155: Use braincrafted_bootstrap.output_dir option when installing icon font
#52: Add class option for pagination
#148: Add label_col and widget_col option for the whole form (by florianeckerstorfer and
dirkluijk)
#156: Add support for error messages with parameters (by thanosp)
#157: Use print shiv instead of standard shiv (by mvrhov)
#161: Set style option in FormBuilder
#162: Set depth of navigation.
Version 1.5.0
Works with new Bootstrap repository twbs/bootstrap
Basic support for Bootstrap v3.0
Allow override options in menus
Extend from base form layout
Fixed problems with removing elemnts in JavaScript collection form type
Various other bugfixes
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
Version 1.2.0
Added support for Assetic
License
https://github.com/braincrafted/bootstrap-bundle
7/8
braincrafted/bootstrap-bundle GitHub
10/3/14
https://github.com/braincrafted/bootstrap-bundle
8/8