PHPackages                             jorisvaesen/bootstrap-3-ui - 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. jorisvaesen/bootstrap-3-ui

ActiveCakephp-plugin[Framework](/categories/framework)

jorisvaesen/bootstrap-3-ui
==========================

Bootstrap front-end framework support for CakePHP

1.4.1(7y ago)050.0k↓50%1MITPHP

Since Mar 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jorisvaesen/bootstrap-3-ui)[ Packagist](https://packagist.org/packages/jorisvaesen/bootstrap-3-ui)[ Docs](https://github.com/friendsofcake/bootstrap-ui)[ RSS](/packages/jorisvaesen-bootstrap-3-ui/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (24)Used By (0)

Bootstrap 3 UI
==============

[](#bootstrap-3-ui)

Transparently use [Bootstrap 3](http://getbootstrap.com) with [CakePHP 3](http://cakephp.org).

Allow usage of bootstrap 3 and 4 in the same project
----------------------------------------------------

[](#allow-usage-of-bootstrap-3-and-4-in-the-same-project)

This repository is in sync with FriendsOfCake/bootstrap-ui 1.x releases and uses another namespace to allow installation of this package for bootstrap 3 and FriendsOfCake/bootstrap-ui 2.x for bootstrap 4 in the same project.

```
composer require jorisvaesen/bootstrap-3-ui
composer require friendsofcake/bootstrap-ui:2.0.0-beta4

```

Usage
-----

[](#usage)

The easiest way to use bootstrap 3 and 4 in your CakePHP project is to create an extra AppView for bootstrap 4.

Edit your current AppView.php to start using this package:

```
// AppView.php

use Bootstrap3UI\View\UIViewTrait;

class AppView extends View
{
    use UIViewTrait;

    public function initialize()
    {
    	parent::initialize();

        $this->initializeUI();
    }
```

Create an AppView for pages which use bootstrap 4:

```
// AppView4.php

use BootstrapUI\View\UIViewTrait;

class AppView4 extends View
{
    use UIViewTrait;

    public function initialize()
    {
    	parent::initialize();

        $this->initializeUI();
    }
```

Load bootstrap 3 or bootstrap 4 helpers through the AppView:

```
// In any controller initialize() or any action
$this->viewBuilder()
    ->setClassName('App\View\AppView')      // Bootstrap 3
    ->setClassName('App\View\AppView4')     // Bootstrap 4
```

###  Health Score

38

—

LowBetter than 84% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~64 days

Recently: every ~150 days

Total

23

Last Release

2637d ago

Major Versions

v0.6.2 → 1.0.02017-03-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/935b8cd6be3a6ff53cae55eead3916bcfabec5de937f75221bb37cecd7d92374?d=identicon)[jorisvaesen](/maintainers/jorisvaesen)

---

Top Contributors

[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (251 commits)")[![jadb](https://avatars.githubusercontent.com/u/33527?v=4)](https://github.com/jadb "jadb (130 commits)")[![julianpollmann](https://avatars.githubusercontent.com/u/2836863?v=4)](https://github.com/julianpollmann "julianpollmann (113 commits)")[![ndm2](https://avatars.githubusercontent.com/u/5031606?v=4)](https://github.com/ndm2 "ndm2 (43 commits)")[![skie](https://avatars.githubusercontent.com/u/130799?v=4)](https://github.com/skie "skie (33 commits)")[![josegonzalez](https://avatars.githubusercontent.com/u/65675?v=4)](https://github.com/josegonzalez "josegonzalez (32 commits)")[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (25 commits)")[![eymen-elkum](https://avatars.githubusercontent.com/u/2862528?v=4)](https://github.com/eymen-elkum "eymen-elkum (23 commits)")[![cewi](https://avatars.githubusercontent.com/u/1643900?v=4)](https://github.com/cewi "cewi (15 commits)")[![lorenzo](https://avatars.githubusercontent.com/u/37621?v=4)](https://github.com/lorenzo "lorenzo (8 commits)")[![challgren](https://avatars.githubusercontent.com/u/88909?v=4)](https://github.com/challgren "challgren (8 commits)")[![dakota](https://avatars.githubusercontent.com/u/83255?v=4)](https://github.com/dakota "dakota (8 commits)")[![Nic0tiN](https://avatars.githubusercontent.com/u/978619?v=4)](https://github.com/Nic0tiN "Nic0tiN (7 commits)")[![ravage84](https://avatars.githubusercontent.com/u/625761?v=4)](https://github.com/ravage84 "ravage84 (7 commits)")[![stickler-ci](https://avatars.githubusercontent.com/u/16011037?v=4)](https://github.com/stickler-ci "stickler-ci (7 commits)")[![balcsida](https://avatars.githubusercontent.com/u/1768446?v=4)](https://github.com/balcsida "balcsida (7 commits)")[![AD7six](https://avatars.githubusercontent.com/u/33387?v=4)](https://github.com/AD7six "AD7six (6 commits)")[![D4rkMindz](https://avatars.githubusercontent.com/u/16854141?v=4)](https://github.com/D4rkMindz "D4rkMindz (6 commits)")[![steefaan](https://avatars.githubusercontent.com/u/5982785?v=4)](https://github.com/steefaan "steefaan (5 commits)")[![broot02](https://avatars.githubusercontent.com/u/7757740?v=4)](https://github.com/broot02 "broot02 (3 commits)")

---

Tags

cakephptwitterbootstrap

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jorisvaesen-bootstrap-3-ui/health.svg)

```
[![Health](https://phpackages.com/badges/jorisvaesen-bootstrap-3-ui/health.svg)](https://phpackages.com/packages/jorisvaesen-bootstrap-3-ui)
```

###  Alternatives

[slywalker/boost_cake

BoostCake is a plugin for CakePHP using Bootstrap

277511.0k1](/packages/slywalker-boost-cake)[friendsofcake/bootstrap-ui

Bootstrap front-end framework support for CakePHP

3492.1M32](/packages/friendsofcake-bootstrap-ui)[cakephp/debug_kit

CakePHP Debug Kit

86514.0M136](/packages/cakephp-debug-kit)[cakephp/bake

Bake plugin for CakePHP

11211.2M156](/packages/cakephp-bake)[cakephp/localized

CakePHP Localized Plugin

218595.6k5](/packages/cakephp-localized)[cakephp/acl

Acl Plugin for CakePHP framework

109553.9k15](/packages/cakephp-acl)

PHPackages © 2026

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