PHPackages                             holt59/cakephp4-bootstrap-helpers - 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. holt59/cakephp4-bootstrap-helpers

ActiveCakephp-plugin

holt59/cakephp4-bootstrap-helpers
=================================

Bootstrap Helpers for CakePHP 4.0

4.1.0(3y ago)341.3k↓73.6%8[4 issues](https://github.com/CakePHP-Bootstrap/cakephp4-bootstrap-helpers/issues)3MITPHPPHP &gt;=7.4.0

Since Nov 16Pushed 1y ago2 watchersCompare

[ Source](https://github.com/CakePHP-Bootstrap/cakephp4-bootstrap-helpers)[ Packagist](https://packagist.org/packages/holt59/cakephp4-bootstrap-helpers)[ Docs](https://holt59.github.io/cakephp4-bootstrap-helpers/)[ RSS](/packages/holt59-cakephp4-bootstrap-helpers/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (13)Used By (3)

CakePHP 4.x Helpers for Bootstrap
=================================

[](#cakephp-4x-helpers-for-bootstrap)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Travis](https://camo.githubusercontent.com/657592283a8ec102cf033dc1e02a84ec939077a40d69d8755251a6ff6debef73/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f486f6c7435392f63616b65706870332d626f6f7473747261702d68656c706572732f342e302e332e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/Holt59/cakephp3-bootstrap-helpers)[![Packagist](https://camo.githubusercontent.com/2ab363ad0a7464758ebc3c253f7a7a99bbaed0d5b30db4fdc3d1761ed909b2d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686f6c7435392f63616b65706870332d626f6f7473747261702d68656c706572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/holt59/cakephp3-bootstrap-helpers)

CakePHP 4.x Helpers to generate HTML with @Twitter Boostrap style: `Breadcrumbs`, `Flash`, `Form`, `Html`, `Modal`, `Navbar`, `Card` and `Paginator` helpers available!

How to... ?
===========

[](#how-to-)

#### Installation

[](#installation)

If you want the **Bootstrap 4** version of the plugin:

- Add the plugin to your `composer.json`:

```
# Stable version:
composer require holt59/cakephp3-bootstrap-helpers:4.0.3
```

- [Load the helpers](https://book.cakephp.org/3.0/en/views/helpers.html#configuring-helpers) you want in your `View/AppView.php`:

```
$this->loadHelper('Html', [
    'className' => 'Bootstrap.Html',
    // Other configuration options...
]);
```

#### Breaking changes from previous versions

[](#breaking-changes-from-previous-versions)

- `FormHelper`:

    - it is not possible to place error message in a separate column in horizontal form, the error message will always be put below the input.
- `NavbarHelper`:

    - the following options of the `create()` methods have been removed or have had their meaning changed:
        - `static` is now `sticky`
        - `responsive` has been dropped and replace by a `collapse` option with the following meaning: `true`for always collapsed, `false` for never collapsed, or a string representing indicating when the content should collapse (`'lg'` is the default).
        - `fluid` has been dropped.
        - `container` is a new option (`bool`, default is `false`) to indicate if the content of the navbar should be wrapped inside a ``.
        - `inverse` has been dropped.
    - a new `theme` option has been added to the `create()` method to control, possible values are `'light'`, `'dark'`, `false` (no theme), or an array `[$theme, $bg]`.
    - when adding a `link()` to an inner menu, the `$linkOptions` parameters is not usable anymore and the `$options` parameters should be used directly (their are no wrapping `` anymore for inner menu).

The full plugin documentation is available at .

#### Table of version and requirements

[](#table-of-version-and-requirements)

VersionBootstrap versionCakePHP versionInformation[master](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/master)4&gt;= 3.7.0Current active V4 branch.[4.0.3](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/v4.0.3)4&gt;= 3.7.0Current active V4 branch.[4.0.2](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/v4.0.2)4&gt;= 3.7.0Latest V4 release.[3.1.4](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/v3.1.2)3&gt;= 3.7.0Open issue(s) if necessary.&lt;= [3.1.2](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/v3.1.1)3&lt; 3.4.0Deprecated.#### Contributing

[](#contributing)

Do not hesitate to [**post a github issue**](https://github.com/Holt59/cakephp3-bootstrap-helpers/issues/new) or [**submit a pull request**](https://github.com/Holt59/cakephp3-bootstrap-helpers/pulls) if you find a bug or want a new feature.

Who is using it?
================

[](#who-is-using-it)

Non-exhaustive list of projects using these helpers, if you want to be in this list, do not hesitate to [email me](mailto:capelle.mikael@gmail.com) or post a comment on [this issue](https://github.com/Holt59/cakephp3-bootstrap-helpers/issues/32).

- \[**CakeAdmin**\] (), LightStrap Theme for CakeAdmin

Copyright and license
=====================

[](#copyright-and-license)

The MIT License (MIT)

Copyright (c) 2013-2020, Mikaël Capelle.

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.

See [LICENSE](LICENSE).

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance9

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community27

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 83.6% 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 ~108 days

Recently: every ~169 days

Total

8

Last Release

1240d ago

Major Versions

v3.0.0.x-dev → 4.0.02021-02-09

3.0.0 → 4.1.02022-12-16

PHP version history (2 changes)v4.0.0.x-devPHP &gt;=7.2

4.1.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2393288?v=4)[Mikaël Capelle](/maintainers/Holt59)[@Holt59](https://github.com/Holt59)

---

Top Contributors

[![Holt59](https://avatars.githubusercontent.com/u/2393288?v=4)](https://github.com/Holt59 "Holt59 (357 commits)")[![Erwane](https://avatars.githubusercontent.com/u/712604?v=4)](https://github.com/Erwane "Erwane (26 commits)")[![ypnos](https://avatars.githubusercontent.com/u/8481470?v=4)](https://github.com/ypnos "ypnos (8 commits)")[![ypnos-web](https://avatars.githubusercontent.com/u/15981753?v=4)](https://github.com/ypnos-web "ypnos-web (6 commits)")[![JD-Robbs](https://avatars.githubusercontent.com/u/5319760?v=4)](https://github.com/JD-Robbs "JD-Robbs (6 commits)")[![fullybaked](https://avatars.githubusercontent.com/u/527122?v=4)](https://github.com/fullybaked "fullybaked (5 commits)")[![raul338](https://avatars.githubusercontent.com/u/7199046?v=4)](https://github.com/raul338 "raul338 (4 commits)")[![LYZ452](https://avatars.githubusercontent.com/u/78216753?v=4)](https://github.com/LYZ452 "LYZ452 (3 commits)")[![alphp](https://avatars.githubusercontent.com/u/8992091?v=4)](https://github.com/alphp "alphp (3 commits)")[![grouse](https://avatars.githubusercontent.com/u/1053191?v=4)](https://github.com/grouse "grouse (1 commits)")[![Oxicode](https://avatars.githubusercontent.com/u/1320709?v=4)](https://github.com/Oxicode "Oxicode (1 commits)")[![jmenges](https://avatars.githubusercontent.com/u/10944143?v=4)](https://github.com/jmenges "jmenges (1 commits)")[![sharkooon](https://avatars.githubusercontent.com/u/533123?v=4)](https://github.com/sharkooon "sharkooon (1 commits)")[![starlocke](https://avatars.githubusercontent.com/u/1019999?v=4)](https://github.com/starlocke "starlocke (1 commits)")[![toggenation](https://avatars.githubusercontent.com/u/4483692?v=4)](https://github.com/toggenation "toggenation (1 commits)")[![wreality](https://avatars.githubusercontent.com/u/463159?v=4)](https://github.com/wreality "wreality (1 commits)")[![innovaweb-dev](https://avatars.githubusercontent.com/u/2601347?v=4)](https://github.com/innovaweb-dev "innovaweb-dev (1 commits)")[![keraf](https://avatars.githubusercontent.com/u/30026749?v=4)](https://github.com/keraf "keraf (1 commits)")

---

Tags

cakephpbootstrap

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/holt59-cakephp4-bootstrap-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/holt59-cakephp4-bootstrap-helpers/health.svg)](https://phpackages.com/packages/holt59-cakephp4-bootstrap-helpers)
```

###  Alternatives

[friendsofcake/bootstrap-ui

Bootstrap front-end framework support for CakePHP

3492.1M32](/packages/friendsofcake-bootstrap-ui)[holt59/cakephp3-bootstrap-helpers

Bootstrap Helpers for CakePHP 3.0

125239.5k](/packages/holt59-cakephp3-bootstrap-helpers)[crabstudio/recaptcha

Easily use Google Recaptcha in CakePHP projects

20112.2k1](/packages/crabstudio-recaptcha)[cakephp-fr/recaptcha

To easily use Google Recaptcha (free CAPTCHA service that protect websites from spam and abuse) in CakePHP projects

1419.3k](/packages/cakephp-fr-recaptcha)[cake17/cakephp-recaptcha

\[DEPRECIATED\] Please use https://github.com/cakephp-fr/recaptcha/

1211.0k1](/packages/cake17-cakephp-recaptcha)

PHPackages © 2026

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