opwoco / bootstrap-bundle
Easy integration of twitters bootstrap into symfony2
Installs: 212
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 348
Language:CSS
Type:symfony-bundle
Requires
- mopa/composer-bridge: ~1.3
- symfony/console: ~2.3|~3.0
- symfony/form: ~2.3|~3.0
- symfony/framework-bundle: ~2.3|~3.0
- symfony/twig-bundle: ~2.3|~3.0
- twig/twig: ^1.14.2
Requires (Dev)
- phpunit/phpunit: ~4.6
Suggests
- craue/formflow-bundle: ~2.0
- knplabs/knp-menu-bundle: ~2.0@dev
- knplabs/knp-paginator-bundle: ~2.3
- mopa/bootstrap-sandbox-bundle: ~2.3
- twbs/bootstrap: >2.0,<4.0-dev
- twbs/bootstrap-sass: v3.1.1
Conflicts
- symfony/twig-bridge: <2.3
This package is not auto-updated.
Last update: 2024-11-09 16:53:23 UTC
README
OpwocoBootstrapBundle
Branches
If you wish to use the current master branch, then use the following:
composer require opwoco/bootstrap-bundle:dev-master twbs/bootstrap:dev-master
Or config via composer.json
For LESS:
{ "require": { "opwoco/bootstrap-bundle": "~3.0.0", "twbs/bootstrap": "v3.3.0" } }
For SASS:
{ "require": { "opwoco/bootstrap-bundle": "v3.0.0-rc1", "twbs/bootstrap-sass": "~3.3.0" } }
Translations
If you use KnpPaginatorBundle with OpwocoBootstrapBundle, 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.
=======
To understand which versions are currently required have a look into BRANCHES.md
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:
Live Show
To see the bundle, its capabilities, and some more documentation samples just have a look at
Additional Resources:
- MopaBootstrapSandboxBundle - Separate live docs from code
- symfony-bootstrap is also available
Installation
Installation instructions are located in the
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
- Knp Menu Extension for dealing with bootstrap menus and navbars.
- helpers for dropdowns, seperators, etc.
- Twig Extension for multiple icon sets
- 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
Resources/translations/pagination.[YOUR LOCALE CODE].yml
As example you have there Polish translation.
Contribute
If you want to contribute your code to MopaBootstrapBundle please be sure that your PR's are valid to Symfony Coding Standards. You can automatically fix your code for that with PHP-CS-Fixer tool.
Any additional features should include documentation to accompany it.
You can see who already contributed to this project on Contributors page
License
This bundle is under the MIT license. For more information, see the complete LICENCE file in the bundle.