PHPackages                             derekisbusy/yii2-bootstrap4 - 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. derekisbusy/yii2-bootstrap4

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

derekisbusy/yii2-bootstrap4
===========================

Bootstrap 4 assets for Yii2

013PHP

Since Jun 22Pushed 6y agoCompare

[ Source](https://github.com/derekisbusy/yii2-bootstrap4)[ Packagist](https://packagist.org/packages/derekisbusy/yii2-bootstrap4)[ RSS](/packages/derekisbusy-yii2-bootstrap4/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Yii2 Bootstrap 4
================

[](#yii2-bootstrap-4)

Bootstrap 4 assets for Yii2

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist derekisbusy/yii2-bootstrap4:dev-master

```

or add

```
"derekisbusy/yii2-bootstrap4": "dev-master"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it by adding it to your view :

```
use \derekisbusy\bootstrap4\BootstrapAsset;

BootstrapAsset::register($this);
```

or by adding it to another assets dependencies list :

```
  public $depends = [
    'derekisbusy\bootstrap4\BootstrapAsset'
  ];
```

Resources
---------

[](#resources)

- [twbs/bootstrap](https://github.com/twbs/bootstrap#documentation)
- [Bootrap 4 docs](https://getbootstrap.com/docs/4.3/getting-started/introduction/)
- [Bootrap 4 examples](https://getbootstrap.com/docs/4.3/examples/)
- [Yii2 assets](https://www.yiiframework.com/doc/guide/2.0/en/structure-assets)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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/b869af2c6981c02841e47e2e56a8753f51f3cc0594f6e2ac8742297cb9a828bc?d=identicon)[derekisbusy](/maintainers/derekisbusy)

---

Top Contributors

[![derekisbusy](https://avatars.githubusercontent.com/u/5118781?v=4)](https://github.com/derekisbusy "derekisbusy (15 commits)")

---

Tags

bootstrapbs4yii2yii2-assetyii2-extension

### Embed Badge

![Health badge](/badges/derekisbusy-yii2-bootstrap4/health.svg)

```
[![Health](https://phpackages.com/badges/derekisbusy-yii2-bootstrap4/health.svg)](https://phpackages.com/packages/derekisbusy-yii2-bootstrap4)
```

###  Alternatives

[crodas/text-rank

Extract relevant keywords from a given text

10458.6k1](/packages/crodas-text-rank)[kunststube/rison

A PHP encoder and decoder for Rison, the compact JSON-like data format optimized for URIs.

2464.5k3](/packages/kunststube-rison)[evoweb/extender

Extending extbase domain models like a pro with extender

11260.3k6](/packages/evoweb-extender)

PHPackages © 2026

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