Skip to content
Easy integration of twitters bootstrap into symfony2
PHP CSS JavaScript
Find file
Pull request Compare This branch is 1252 commits behind phiamo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Command
Composer
DependencyInjection
Form/Extension
Navbar
Resources
Tests
.gitignore
.gitmodules
.travis.yml
LICENSE
MopaBootstrapBundle.php
README.md
UPGRADE-2.1.md
composer.json
phpunit.xml.dist

README.md

MopaBootstrapBundle

NEW Warning

The branching strategy has been adapted to be more flexible:

  • The old branch for bootstrap 1.x (v1.x) still exists.
  • The v2.0.x (previously v2.x_sf2.0) branch is following Symfony 2.0.x with bootstrap 2.x
  • The master branch is following Symfony master with bootstrap 2.x

MopaBootstrapBundle is a collection of code to integrate twitter's bootstrap (http://twitter.github.com/bootstrap/) as easy as possible into your symfony2 (http://www.symfony.com) Project.

NEW:
To make your base HTML5 even better and let you use good practices we added
to this bundle features from HTML5 BoilerPlate Project.
Integration was done using setup pregenerated with support of Initializr.
Actually we support HTML5 BoilerPlate v3.0.3 with Modernizr v2.5.3 and Respond.

To learn how to use this features read Initializr docs (50-Initializr.md).
This implementation is maintained by Pawel Madej (nysander)

Live Show

To see the bundle and its capabilities online just have a look on

MopaBootstrapBundle Live

Additional Resources:

Included

  • Twig Extensions and templates for use with symfony2 Form component
    • control your form either via the form builder or the template engine
    • control nearly every bootstrap2 form feature
    • javascript and twig blocks for dynamic collections
  • A generic Navbar class to generate your Navbar outside the template
    • helpers for dropdowns, seperators, etc.
  • twig templates for KnpPaginatorBundle (https://github.com/knplabs/KnpPaginatorBundle)
  • twig templates for CraueFormFlowBundle (https://github.com/craue/CraueFormFlowBundle)

Documentation

The bulk of the documentation is stored in the Resources/doc/index.md file in this bundle:

Installation

All the installation instructions are located in the documentation.

Translation

If you use KnpPaginatorBundle with MopaBootstrapBundle, you can translate labels to your language.
To do this add new file

Resources/translations/pagination.[YOUR LOCALE CODE].yml

As example you have there Polish translation.

License

This bundle is under the MIT license. See the complete license in the bundle:

[LICENCE](LICENCE).
Something went wrong with that request. Please try again.