定制 opwoco/bootstrap-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

opwoco/bootstrap-bundle

最新稳定版本:v3.0.0

Composer 安装命令:

composer require opwoco/bootstrap-bundle

包简介

Easy integration of twitters bootstrap into symfony2

README 文档

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

MopaBootstrapBundle Live

Additional Resources:

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.

统计信息

  • 总下载量: 213
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 341
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-21