PHPackages                             gnixon05/yii2-bootstrap5 - 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. gnixon05/yii2-bootstrap5

ActiveYii2-extension[Framework](/categories/framework)

gnixon05/yii2-bootstrap5
========================

Twitter Bootstrap 5 extension for the Yii framework

1.0.2(4y ago)039BSD-3-ClausePHPPHP &gt;=7.3.21

Since Aug 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/gnixon05/yii2-bootstrap5)[ Packagist](https://packagist.org/packages/gnixon05/yii2-bootstrap5)[ RSS](/packages/gnixon05-yii2-bootstrap5/feed)WikiDiscussions main Synced yesterday

READMEChangelog (3)Dependencies (2)Versions (3)Used By (0)

 [ ![](https://camo.githubusercontent.com/7e58968e2b6df837d6e5d98e5fe42dabdd4f389069f7f77c4de9d08b19b4dbb4/68747470733a2f2f76342d616c7068612e676574626f6f7473747261702e636f6d2f6173736574732f6272616e642f626f6f7473747261702d736f6c69642e737667) ](http://getbootstrap.com/)

Twitter Bootstrap 5 Extension for Yii 2
=======================================

[](#twitter-bootstrap-5-extension-for-yii-2)

This is the Twitter Bootstrap extension for [Yii framework 2.0](http://www.yiiframework.com). It encapsulates [Bootstrap 5](http://getbootstrap.com/) components and plugins in terms of Yii widgets, and thus makes using Bootstrap components/plugins in Yii applications extremely easy.

This particular version is a clone of [yiisoft Bootstrap 4](https://github.com/yiisoft/yii2-bootstrap4) and updated using [yiisoft Bootstrap 5](https://github.com/yiisoft/yii-bootstrap5) to ensure the appropriate classes and structure were utilized while maintaining proper compatability with Yii 2.

For license information check the [LICENSE](LICENSE.md)-file.

Documentation is at [docs/guide/README.md](docs/guide/README.md).

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist gnixon05/yii2-bootstrap5

```

or add

```
"gnixon05/yii2-bootstrap5": "dev"

```

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

Usage
-----

[](#usage)

For example, the following single line of code in a view file would render a Bootstrap Progress plugin:

```
