mouf/html.template.bootstrap 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mouf/html.template.bootstrap

最新稳定版本:v5.2.1

Composer 安装命令:

composer require mouf/html.template.bootstrap

包简介

This package contains a Mouf template based on the Twitter Bootstrap HTML/CSS/JS library, along a Mouf installer file to add the template easily in your Mouf project.

README 文档

README

This package contains a base Mouf template based on the Twitter Bootstrap library.

Bootstrap template

The Bootstrap template is a classical 1-2-3 column layout with a header and a footer. It adapts automatically, so if you put nothing in the left column, it will disappear. Using the template instance, you can customize the width of the columns, etc...

Template vs Bootstrap version

Below is a simple table matching template versions and Bootstrap versions:

Bootstrap version Template version
2.1 2.1.*
2.3 2.3.*
3.0 3.0
3.1 3.1
3.2 3.2
3.3 3.3
3.* 4.0
3.* 4.1
4.* 5.0
4.* 5.1 (uses Service providers instead of Mouf installer)

Bootstrap menu rendererer

So basically, if you are declaring your menus in Mouf, and if you use Bootstrap, this help you render the menus. The renderer is making extensive use of objects declared in the mouf\html.widgets.menu package.

Mouf package

This package is part of Mouf (http://mouf-php.com), an effort to ensure good developing practices by providing a graphical dependency injection framework. Using Mouf's user interface, you can create your menu graphically, by creating instances of Menu and MenuItem.

In practice

A menu is defined using the Menu class. The Menu class can contain many MenuItem. Each menuitem can contain many MenuItem. You pass a Menu instance to the BootstrapMenuRenderer::toHtml and it will render the menu.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 6
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-10-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固