PHPackages                             p2/bootstrap-bundle - 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. p2/bootstrap-bundle

ActiveLibrary[Templating &amp; Views](/categories/templating)

p2/bootstrap-bundle
===================

Twitter Bootstrap 3.0 themeing for symfony2

3107PHP

Since Nov 25Pushed 12y ago1 watchersCompare

[ Source](https://github.com/phillies2k/bootstrap-bundle)[ Packagist](https://packagist.org/packages/p2/bootstrap-bundle)[ RSS](/packages/p2-bootstrap-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

BootstrapBundle
===============

[](#bootstrapbundle)

Version: **2.0.0-BETA**

[![Build Status](https://camo.githubusercontent.com/63af646556e7f7cfbcef94a9ffb2d353d2d3f336055727b97666ca942343e676/68747470733a2f2f7472617669732d63692e6f72672f7068696c6c696573326b2f626f6f7473747261702d62756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/phillies2k/bootstrap-bundle)

### Installation

[](#installation)

```
    "require": {
        "p2/bootstrap-bundle": "dev-master"
    }
```

### Usage

[](#usage)

Simply enable the bundle within your AppKernel.php file.

The Bundle will automatically create and provide the following assets for you:

- **@bootstrap\_css "css/bootstrap.css"**The default twitter bootstrap css
- **@bootstrap\_js "js/bootstrap.js"**The combined twitter bootstrap javascript library

### Configuration

[](#configuration)

Default configuration:

```
p2_bootstrap:
    use_forms: true
    source_path: '%kernel.root_dir%/../vendor/twbs/bootstrap'
    bootstrap_css: 'css/bootstrap.css'
    bootstrap_js: 'js/bootstrap.js'
    forms:
        defaults:
            horizontal: true
            inline: false
            prepend: true
            append: false
            help: ~
            help_type: ~
            info: ~
            info_type: ~
            icon: ~
            grid: [ 4, 8 ]
        allowed_types:
            horizontal: 'bool'
            inline: 'bool'
            prepend: 'bool'
            append: 'bool'
            help: [ 'null', 'string' ]
            help_type: [ 'null', 'string' ]
            info: [ 'null', 'string' ]
            info_type: [ 'null', 'string' ]
            icon: [ 'null', 'string' ]
            grid: 'array'
        allowed_values: []
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fdd011838b3942e40cd234a31d6a2907119c75b6a358857c9e611a36a0a32042?d=identicon)[phillies2k](/maintainers/phillies2k)

---

Top Contributors

[![phillies2k](https://avatars.githubusercontent.com/u/104578?v=4)](https://github.com/phillies2k "phillies2k (191 commits)")

### Embed Badge

![Health badge](/badges/p2-bootstrap-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/p2-bootstrap-bundle/health.svg)](https://phpackages.com/packages/p2-bootstrap-bundle)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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