PHPackages                             toa/twitter-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. [Framework](/categories/framework)
4. /
5. toa/twitter-bootstrap-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

toa/twitter-bootstrap-bundle
============================

Basic integration of Twitter Bootstrap into Symfony2

v2.1.2(12y ago)91.4k4[2 PRs](https://github.com/toaotc/ToaTwitterBootstrapBundle/pulls)MITCSS

Since Aug 14Pushed 5y ago3 watchersCompare

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

READMEChangelogDependencies (1)Versions (9)Used By (0)

ToaTwitterBootstrapBundle
=========================

[](#toatwitterbootstrapbundle)

**This Bundle is not maintained anymore. Use [PUGXGeneratorBundle](https://github.com/PUGX/PUGXGeneratorBundle) f. e.**

This Bundle serves basic integration of [Twitter Bootstrap](http://twitter.github.com/bootstrap)(v2.2.0) into [Symfony Standard Edition](https://github.com/symfony/symfony-standard).
It includes a CRUD-generator based on [SensioGeneratorBundle](https://github.com/sensio/SensioGeneratorBundle).

[![Latest Stable Version](https://camo.githubusercontent.com/f5aefb6ee7861d2ac36d58a7d5e67b338f231642423c33b14832a09ddd3aff5b/68747470733a2f2f706f7365722e707567782e6f72672f746f612f747769747465722d626f6f7473747261702d62756e646c652f762f737461626c652e706e67 "Latest Stable Version")](https://packagist.org/packages/toa/twitter-bootstrap-bundle)[![Total Downloads](https://camo.githubusercontent.com/3c296a80c067e932e486a549ba6e917a6c7d6e5a06b3597f5b202e922de200a9/68747470733a2f2f706f7365722e707567782e6f72672f746f612f747769747465722d626f6f7473747261702d62756e646c652f646f776e6c6f6164732e706e67 "Total Downloads")](https://packagist.org/packages/toa/twitter-bootstrap-bundle)

Installation
------------

[](#installation)

###### Add `toa/twitter-bootstrap-bundle` to `composer.json`.

[](#add-toatwitter-bootstrap-bundle-to-composerjson)

```
{
    "require": {
        // ...
        "toa/twitter-bootstrap-bundle": "dev-master",
        // ...
    }
}

```

###### Register this bundle in the `app/AppKernel.php`

[](#register-this-bundle-in-the-appappkernelphp)

```
public function registerBundles()
{
	$bundles = array(
		// ...
		new Toa\Bundle\TwitterBootstrapBundle\ToaTwitterBootstrapBundle(),
		// ...
	);
}

```

Usage
-----

[](#usage)

#### CRUD generation

[](#crud-generation)

The CRUD-generator in [ToaTwitterBootstrapBundle](https://github.com/toaotc/ToaTwitterBootstrapBundle) is based on [SensioGeneratorBundle](https://github.com/sensio/SensioGeneratorBundle).

Instead of `php ./app/console doctrine:generate:crud`
you can use `php ./app/console toa:generate:twitter-bootstrap-crud`
with the same options and arguments.

#### Template overriding

[](#template-overriding)

Default CRUD-templates reside in Resources/skeleton/crud that can be overridden in `/app/Resources/ToaTwitterBootstrapBundle/skeleton/crud`.
The base-templates of [SensioGeneratorBundle](https://github.com/sensio/SensioGeneratorBundle) can be overridden in the same way.

###### Example #1:

[](#example-1)

All generated views extend from `ToaTwitterBootstrapBundle::layout.html.twig` that can be overridden in `/app/Resources/ToaTwitterBootstrapBundle/skeleton/crud/views/others/extends.twig.twig`.

###### Example #2:

[](#example-2)

All generated views use the `content` block that can be overridden in `/app/Resources/ToaTwitterBootstrapBundle/skeleton/crud/views/others/block.twig.twig`.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 67.9% 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 ~59 days

Total

6

Last Release

4726d ago

### Community

Maintainers

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

---

Top Contributors

[![toaotc](https://avatars.githubusercontent.com/u/871030?v=4)](https://github.com/toaotc "toaotc (57 commits)")[![lutzportela](https://avatars.githubusercontent.com/u/1962120?v=4)](https://github.com/lutzportela "lutzportela (26 commits)")[![pchodzko](https://avatars.githubusercontent.com/u/3217906?v=4)](https://github.com/pchodzko "pchodzko (1 commits)")

---

Tags

code-generation

### Embed Badge

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

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

###  Alternatives

[laravel-shift/blueprint

An expressive, human readable code generation tool.

3.1k1.4M30](/packages/laravel-shift-blueprint)

PHPackages © 2026

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