2017 © Pedro Peláez
 

symfony-bundle bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

image

mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

  • Saturday, December 23, 2017
  • by phiamo
  • Repository
  • 42 Watchers
  • 723 Stars
  • 1,302,956 Installations
  • CSS
  • 57 Dependents
  • 9 Suggesters
  • 397 Forks
  • 27 Open issues
  • 30 Versions
  • 4 % Grown

The README.md

MopaBootstrapBundle

Build Status SensioLabsInsight Coverage Status, (*1)

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

To use MopaBootstrapBundle and Twitter's Bootstrap 3 in your project add it via composer, (*3)

Versions and dependencies

MopaBootstrapBundle Bootstrap Symfony PHP
[3.4] (master) ^3.0 ^4.4 || ^5.1 || ^6.0 ^7.2 || ^8.0
[3.3] (3.3) ^3.0 ^2.3 || ^3.0 || ^4.0
[3.2] (unmaintained) ^3.0 ^2.3 || ^3.0
[3.1] (unmaintained) ^3.0 ^2.3 || ^3.0
[3.0] (unmaintained) ^3.0 ^2.3 || ^3.0
[2.3] (unmaintained) ^2.0 ^2.3
[2.2] (unmaintained) ^2.0 >=2.1,<2.4
[2.1] (unmaintained) ^2.0 ~2.1.0
[2.0] (unmaintained) ^2.0 ~2.0.0
[1.x] (unmaintained) ^1.0 ^2.0

Updates

New in 3.1: The way horizontal works has been slightly altered due to a change in Symfony forms. This may or may not affect some behavior of your existing forms. ALL root form elements, whether they have a parent form or not will start with horizontal === true (or whatever value you set in the config). For the most part this shouldn't affect many users., (*4)

horizontal will also correctly pass itself down to collection types (and all child forms). So if your collection is horizontal, so will the collection items. If you want your collection items only to be inline, then you can pass these options to your collection:, (*5)

array(
    'entry_options' => array('horizontal' => false), //   2.8+
    'options' => array('horizontal' => false),       // < 2.8
)

horizontal_wrap_children has been removed, as this can be solved using the above options., (*6)

Branches

To use this bundle with bootstrap 3 use the latest release:, (*7)

composer require mopa/bootstrap-bundle twbs/bootstrap

Or config via composer.json, (*8)

For LESS:, (*9)

``` json { "require": { "mopa/bootstrap-bundle": "~3.0", "twbs/bootstrap": "~3.3.0" } }, (*10)


For SASS: ``` json { "require": { "mopa/bootstrap-bundle": "~3.0", "twbs/bootstrap-sass": "~3.3.0" } }

If you wish to use the current master branch, then use the following:, (*11)

composer require mopa/bootstrap-bundle:dev-master twbs/bootstrap:dev-master

For bootstrap 2 use the v2.3.x branch:, (*12)

composer require mopa/bootstrap-bundle:2.3.x-dev twbs/bootstrap:2.3.2

To understand which versions are currently required have a look into BRANCHES.md, (*13)

Documentation

The bulk of the documentation is stored in the Resources/doc folder in this bundle In any case, if something is not working as expected after a update:, (*14)

Live Show

To see the bundle, its capabilities and some more doc just have a look on, (*15)

MopaBootstrapBundle Live, (*16)

Additional Resources:, (*17)

Installation

Installation instructions are located in the, (*18)

Included Features

  • Bootstrap Version detection via Composer Bridge
  • 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.
  • A generic Tab class to Manage bootstrap tabbing
  • Twig templates for KnpPaginatorBundle (https://github.com/knplabs/KnpPaginatorBundle)
  • Twig templates for CraueFormFlowBundle (https://github.com/craue/CraueFormFlowBundle)
  • Twig template for KnpMenuBundle (https://github.com/KnpLabs/KnpMenuBundle)
    • icon support on menu links

Translations

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

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

As example you have there Polish translation., (*20)

Versioning

We aim to follow semantic versioning with our releases., (*21)

Contribute

If you want to contribute your code to MopaBootstrapBundle please be sure that your PR's are valid to Symfony2.1 Coding Standards. You can automatically fix your code for that with PHP-CS-Fixer tool., (*22)

You can see who already contributed to this project on Contributors page, (*23)

License

This bundle is under the MIT license. For more information, see the complete LICENSE file in the bundle., (*24)

The Versions

03/02 2017

dev-feature/travis

dev-feature/travis

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

template form bootstrap extra form bootstrap form

03/02 2017

dev-feature/insight

dev-feature/insight

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

template form bootstrap extra form bootstrap form

03/02 2017

dev-feature/inline-btn-disable

dev-feature/inline-btn-disable

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

template form bootstrap extra form bootstrap form

07/11 2016

v3.1.1

3.1.1.0

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

template form bootstrap extra form bootstrap form

26/07 2016

v3.1.0

3.1.0.0

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

template form bootstrap extra form bootstrap form

25/07 2016

v3.0.1

3.0.1.0

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

template form bootstrap extra form bootstrap form

08/06 2016

v2.3.x-dev

2.3.9999999.9999999-dev

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

27/11 2015

v3.0.0

3.0.0.0

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

template form bootstrap extra form bootstrap form

10/09 2015

v3.0.0-RC2

3.0.0.0-RC2

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

template form bootstrap extra form bootstrap form

15/07 2015

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

template form bootstrap extra form bootstrap form

29/05 2015

v3.0.0-RC1

3.0.0.0-RC1

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

template form bootstrap extra form bootstrap form

27/08 2014

v2.3.1

2.3.1.0

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

06/08 2014

v3.0.0-beta4

3.0.0.0-beta4

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

28/11 2013

v2.3.0

2.3.0.0

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

25/10 2013

v3.0.0-beta3

3.0.0.0-beta3

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

16/10 2013

2.2.x-dev

2.2.9999999.9999999-dev

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

15/10 2013

v3.0.0-beta2

3.0.0.0-beta2

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

14/10 2013

v3.0.0-beta1

3.0.0.0-beta1

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

04/09 2013

v2.2.0

2.2.0.0

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

30/04 2013

2.1.x-dev

2.1.9999999.9999999-dev

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

21/04 2013

v2.2.0-alpha1

2.2.0.0-alpha1

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

11/02 2013

v2.1.0-alpha1

2.1.0.0-alpha1

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

01/02 2013

2.0.x-dev

2.0.9999999.9999999-dev

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

06/02 2012

1.x-dev

1.9999999.9999999.9999999-dev

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form

27/11 2011

0.5

0.5.0.0

Easy integration of twitters bootstrap into symfony2

  Sources   Download

MIT

The Requires

 

template form bootstrap extra form bootstrap form