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 2d 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 21% 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

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3851.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

281.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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