Description
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.
To use MopaBootstrapBundle and Twitter's Bootstrap 3 in your project add it via composer
MopaBootstrapBundle alternatives and similar libraries
Based on the "Frameworks" category.
Alternatively, view MopaBootstrapBundle alternatives based on common mentions on social networks and blogs.
-
Laravel 5
Laravel is a web application framework with expressive, elegant syntax. Weβve already laid the foundation for your next big idea β freeing you to create without sweating the small things. -
Slim Framework
Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. -
FuelPHP
Fuel PHP Framework v1.x is a simple, flexible, community driven PHP 5.3+ framework, based on the best ideas of other frameworks, with a fresh start! FuelPHP is now fully PHP 8.0 compatible. -
PHP-GLFW
πͺA fully-featured OpenGL and GLFW extension for PHP. πBatteries included (Math Functions, Texture Loaders, etc..) -
PHP-Spellchecker
πππ PHP Library providing an easy way to spellcheck multiple sources of text by many spellcheckers -
OpenAPI PSR-7 Message (HTTP Request/Response) Validator
It validates PSR-7 messages (HTTP request/response) against OpenAPI specifications
InfluxDB high-performance time series database

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of MopaBootstrapBundle or a related project?
README
MopaBootstrapBundle
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.
To use MopaBootstrapBundle and Twitter's Bootstrap 3 in your project add it via [composer](Resources/doc/install/1-getting-started.md)
Versions and dependencies
MopaBootstrapBundle | Bootstrap | Symfony | PHP |
---|---|---|---|
[3.4] (master) | 3.0 | 4.4 \ | \ |
[3.3] (3.3) | 3.0 | 2.3 \ | \ |
[3.2] (unmaintained) | 3.0 | 2.3 \ | \ |
[3.1] (unmaintained) | 3.0 | 2.3 \ | \ |
[3.0] (unmaintained) | 3.0 | 2.3 \ | \ |
[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.
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:
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.
Branches
To use this bundle with bootstrap 3 use the latest release:
composer require mopa/bootstrap-bundle twbs/bootstrap
Or config via composer.json
For LESS:
{
"require": {
"mopa/bootstrap-bundle": "~3.0",
"twbs/bootstrap": "~3.3.0"
}
}
For SASS:
{
"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:
composer require mopa/bootstrap-bundle:dev-master twbs/bootstrap:dev-master
For bootstrap 2 use the v2.3.x branch:
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
Documentation
The bulk of the documentation is stored in the [Resources/doc](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 doc just have a look on
Additional Resources:
- MopaBootstrapSandboxBundle - Seperate live docs from code
- symfony-bootstrap is also available
Installation
Installation instructions are located in the
- [master documentation](Resources/doc/install/1-getting-started.md)
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
Resources/translations/pagination.[YOUR LOCALE CODE].yml
As example you have there Polish translation.
Versioning
We aim to follow semantic versioning with our releases.
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.
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 [LICENSE](Resources/meta/LICENSE) file in the bundle.
*Note that all licence references and agreements mentioned in the MopaBootstrapBundle README section above
are relevant to that project's source code only.