PHPackages                             slywalker/twitter\_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. [Utility &amp; Helpers](/categories/utility)
4. /
5. slywalker/twitter\_bootstrap

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

slywalker/twitter\_bootstrap
============================

CakePHP Bootstrap (for Twitter) Plugin

1.5.7(12y ago)28532.2k88[1 issues](https://github.com/slywalker/TwitterBootstrap/issues)[1 PRs](https://github.com/slywalker/TwitterBootstrap/pulls)MITPHPPHP &gt;=5.3.0

Since Dec 13Pushed 12y ago31 watchersCompare

[ Source](https://github.com/slywalker/TwitterBootstrap)[ Packagist](https://packagist.org/packages/slywalker/twitter_bootstrap)[ Docs](https://github.com/slywalker/TwitterBootstrap)[ RSS](/packages/slywalker-twitter-bootstrap/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (9)Used By (0)

\#Development of this plugin has moved [BoostCake](https://github.com/slywalker/cakephp-plugin-boost_cake).

\#TwitterBootstrap Plugin for CakePHP2.x The TwitterBootstrap Plugin provides an easy-to-use feature Bootstrap in CakePHP2.x

[Bootstrap, from Twitter](http://twitter.github.com/bootstrap/)

This v1.5.7 supports Bootstrap v2.2.2

\##Installation ###This plugin

Composer

```
{
  "repositories": [
    {
      "type": "package",
      "package": {
        "name": "twitter/bootstrap",
        "version": "dev-master",
        "source": {
          "url": "git://github.com/twitter/bootstrap",
          "type": "git",
          "reference": "master"
        },
        "require": {
          "composer/installers": "*"
        }
      },
      "packagist": false
    }
  ],
  "require": {
    "twitter/bootstrap": "dev-master",
    "slywalker/twitter_bootstrap": "dev-master"
  },
  "config": {
    "vendor-dir": "Vendor"
  }
}

```

Submodule

```
$ cd /your_app_path
$ git submodule add git://github.com/slywalker/TwitterBootstrap.git Plugin/TwitterBootstrap
$ git submodule update --init --recursive

```

Clone

```
$ cd /your_app_path/Plugin
$ git clone git://github.com/slywalker/TwitterBootstrap.git
$ cd TwitterBootstrap
$ git submodule update --init

```

\###Enable plugin You need to enable the plugin your app/Config/bootstrap.php file:

```
CakePlugin::load('TwitterBootstrap');

```

If you are already using `CakePlugin::loadAll();`, then this is not necessary.

\###bootstrap Manual

- Download bootstrap: [Bootstrap, from Twitter](http://twitter.github.com/bootstrap/)
- Unzip that download.
- Copy folders(css, img, js) in the resulting folder to `app/webroot`

Shell Command (need `recess` and `uglifyjs`)

(Copy less, js, img files to webroot and make css, js files)

```
$ cd /your_app
$ Console/cake TwitterBootstrap.copy
$ Console/cake TwitterBootstrap.make

```

\##Usage Controller/AppController.php:

```

```

Output form input as Bootstrap format

```

		Extending form controls

			Cancel

```

Output SessionHelper::flash as Bootstrap format

```
// SomethingsController
$this->Session->setFlash(__('The something has been saved'), 'alert', array(
	'plugin' => 'TwitterBootstrap',
	'class' => 'alert-success'
));
$this->Session->setFlash(__('The something could not be saved. Please, try again.'), 'alert', array(
	'plugin' => 'TwitterBootstrap',
	'class' => 'alert-error'
));

// View

// Auth

```

Output Paginate as Bootstrap format

```
// div.pagination.pagination-centered

// ul.pager

```

Breadcrumb

```

```

You can see more sample. access http://{webroot}/twitter\_bootstrap

\##License

The MIT License (MIT)

Copyright (c) 2012 Yasuo Harada

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 91.1% 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 ~44 days

Recently: every ~66 days

Total

7

Last Release

4581d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/78434306d2c3fd690f0bfbbdbda7dd2cd9ac00f8cabad4914b13d846b4eacd43?d=identicon)[slywalker](/maintainers/slywalker)

---

Top Contributors

[![slywalker](https://avatars.githubusercontent.com/u/54266?v=4)](https://github.com/slywalker "slywalker (296 commits)")[![k1LoW](https://avatars.githubusercontent.com/u/57114?v=4)](https://github.com/k1LoW "k1LoW (6 commits)")[![justinledwards](https://avatars.githubusercontent.com/u/684524?v=4)](https://github.com/justinledwards "justinledwards (4 commits)")[![stealthinu](https://avatars.githubusercontent.com/u/345236?v=4)](https://github.com/stealthinu "stealthinu (3 commits)")[![jmillerdesign](https://avatars.githubusercontent.com/u/848523?v=4)](https://github.com/jmillerdesign "jmillerdesign (3 commits)")[![stvvt](https://avatars.githubusercontent.com/u/420434?v=4)](https://github.com/stvvt "stvvt (2 commits)")[![ni-c](https://avatars.githubusercontent.com/u/283341?v=4)](https://github.com/ni-c "ni-c (1 commits)")[![nojimage](https://avatars.githubusercontent.com/u/100564?v=4)](https://github.com/nojimage "nojimage (1 commits)")[![ravage84](https://avatars.githubusercontent.com/u/625761?v=4)](https://github.com/ravage84 "ravage84 (1 commits)")[![tanakahisateru](https://avatars.githubusercontent.com/u/403893?v=4)](https://github.com/tanakahisateru "tanakahisateru (1 commits)")[![abbajbryant](https://avatars.githubusercontent.com/u/427542?v=4)](https://github.com/abbajbryant "abbajbryant (1 commits)")[![yoshitakayamashita](https://avatars.githubusercontent.com/u/205299?v=4)](https://github.com/yoshitakayamashita "yoshitakayamashita (1 commits)")[![AD7six](https://avatars.githubusercontent.com/u/33387?v=4)](https://github.com/AD7six "AD7six (1 commits)")[![destinydriven](https://avatars.githubusercontent.com/u/358145?v=4)](https://github.com/destinydriven "destinydriven (1 commits)")[![kaz29](https://avatars.githubusercontent.com/u/63869?v=4)](https://github.com/kaz29 "kaz29 (1 commits)")[![monsat](https://avatars.githubusercontent.com/u/85702?v=4)](https://github.com/monsat "monsat (1 commits)")[![nano-eight](https://avatars.githubusercontent.com/u/219506?v=4)](https://github.com/nano-eight "nano-eight (1 commits)")

---

Tags

cakephptwitterbootstrap

### Embed Badge

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

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

###  Alternatives

[cwspear/bootstrap-hover-dropdown

An unofficial Bootstrap plugin to enable Bootstrap dropdowns to activate on hover and provide a nice user experience.

1.3k152.3k](/packages/cwspear-bootstrap-hover-dropdown)[slywalker/boost_cake

BoostCake is a plugin for CakePHP using Bootstrap

279508.0k1](/packages/slywalker-boost-cake)[mediawiki/chameleon-skin

A highly flexible MediaWiki skin using Bootstrap 4

12381.0k2](/packages/mediawiki-chameleon-skin)[codaxis/cakephp-bootstrap3-helpers

CakePHP highly configurable helpers for Bootstrap 3 framework.

4111.5k2](/packages/codaxis-cakephp-bootstrap3-helpers)[phpstrap/phpstrap

Bootstrap layout generator

1314.6k](/packages/phpstrap-phpstrap)[webandcow/bs_helpers

Extension of the CakePHP's FormHelper and HtmlHelper to use the framework Twitter Bootstrap v3.0.0 more easily

271.1k](/packages/webandcow-bs-helpers)

PHPackages © 2026

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