百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

MopaBootstrapBundle

> 编程语言
开源

将 Twitter Bootstrap 集成到 Symfony2 中

703 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

将 Twitter Bootstrap 集成到 Symfony2 中

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

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, 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:

```sh
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

…

sh
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 file in the bundle.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHP

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言