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

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

silentlun/yii2-bootstrap5
=========================

The Twitter Bootstrap v5 extension for the Yii framework

1.0.2(2y ago)05↓85.7%BSD-3-ClausePHPPHP &gt;=7.0

Since Jul 5Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (4)Used By (0)

 [ ![](https://camo.githubusercontent.com/1831a811d2488788d4265d26d4e83347520277c1969d3fa11533922c0a682648/68747470733a2f2f676574626f6f7473747261702e636f6d2f646f63732f352e302f6173736574732f6272616e642f626f6f7473747261702d6c6f676f2e737667) ](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.

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

[](#installation)

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

Either run

```
php composer require --prefer-dist silentlun/yii2-bootstrap5

```

or add

```
"silentlun/yii2-bootstrap5": "*"

```

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

Translations
------------

[](#translations)

The i18n configuration will be automatically added to your application configuration via bootstrapping process.

Usage
-----

[](#usage)

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

```
