PHPackages                             mouf/html.template.bootstrap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. mouf/html.template.bootstrap

ActiveMouf-library[Templating &amp; Views](/categories/templating)

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.

v5.2.1(3y ago)0240.5k92MITPHPPHP ^8.0

Since Mar 19Pushed 3y ago6 watchersCompare

[ Source](https://github.com/thecodingmachine/html.template.bootstrap)[ Packagist](https://packagist.org/packages/mouf/html.template.bootstrap)[ Docs](http://twitter.github.com/bootstrap/)[ RSS](/packages/mouf-htmltemplatebootstrap/feed)WikiDiscussions 5.2 Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (31)Used By (2)

What is this package?
=====================

[](#what-is-this-package)

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

Bootstrap template
------------------

[](#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
-----------------------------

[](#template-vs-bootstrap-version)

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

Bootstrap versionTemplate version2.12.1.\*2.32.3.\*3.03.03.13.13.23.23.33.33.\*4.03.\*4.14.\*5.04.\*5.1 (uses Service providers instead of Mouf installer)Bootstrap menu rendererer
-------------------------

[](#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](https://github.com/thecodingmachine/html.widgets.menu) package.

Mouf package
------------

[](#mouf-package)

This package is part of Mouf (), 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
-----------

[](#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.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 76.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~118 days

Recently: every ~59 days

Total

31

Last Release

1264d ago

Major Versions

v2.3.2.0 → 3.0.x-dev2013-11-25

2.3.3.x-dev → 3.1.x-dev2014-07-09

3.3.x-dev → 4.0.x-dev2015-02-08

2.3.4.x-dev → 5.12018-09-25

4.1.x-dev → v5.1.22019-07-17

PHP version history (4 changes)2.3.1.x-devPHP &gt;=5.3.0

4.0.x-devPHP &gt;=5.4.0

2.3.4.x-devPHP &gt;=7.1

v5.2.1PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1104771?v=4)[mouf](/maintainers/mouf)[@Mouf](https://github.com/Mouf)

---

Top Contributors

[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (65 commits)")[![nguyenk](https://avatars.githubusercontent.com/u/2227554?v=4)](https://github.com/nguyenk "nguyenk (8 commits)")[![vaidiep](https://avatars.githubusercontent.com/u/2227695?v=4)](https://github.com/vaidiep "vaidiep (3 commits)")[![npeguin](https://avatars.githubusercontent.com/u/2227721?v=4)](https://github.com/npeguin "npeguin (3 commits)")[![llebacq](https://avatars.githubusercontent.com/u/18592688?v=4)](https://github.com/llebacq "llebacq (1 commits)")[![homersimpsons](https://avatars.githubusercontent.com/u/16977446?v=4)](https://github.com/homersimpsons "homersimpsons (1 commits)")[![cbalda](https://avatars.githubusercontent.com/u/6704490?v=4)](https://github.com/cbalda "cbalda (1 commits)")[![nipaTCM](https://avatars.githubusercontent.com/u/25083883?v=4)](https://github.com/nipaTCM "nipaTCM (1 commits)")[![alexisprevot](https://avatars.githubusercontent.com/u/11993949?v=4)](https://github.com/alexisprevot "alexisprevot (1 commits)")[![lenafaure](https://avatars.githubusercontent.com/u/7765656?v=4)](https://github.com/lenafaure "lenafaure (1 commits)")

---

Tags

templatebootstrapmouf

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mouf-htmltemplatebootstrap/health.svg)

```
[![Health](https://phpackages.com/badges/mouf-htmltemplatebootstrap/health.svg)](https://phpackages.com/packages/mouf-htmltemplatebootstrap)
```

###  Alternatives

[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[acacha/admin-lte-template-laravel

AdminLTE template applied to Laravel Scaffolding

1.8k387.2k8](/packages/acacha-admin-lte-template-laravel)[mopa/bootstrap-sandbox-bundle

Seperate live docs from code

256.8k](/packages/mopa-bootstrap-sandbox-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
