PHPackages                             easyconn/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. [Framework](/categories/framework)
4. /
5. easyconn/yii2-bootstrap4

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

easyconn/yii2-bootstrap4
========================

The Twitter Bootstrap extension for the Yii framework

1.0.3(8y ago)06BSD-3-ClausePHP

Since Apr 15Pushed 8y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (5)Used By (0)

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

Twitter Bootstrap 4 Extension for Yii 2
=======================================

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

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

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

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

[![Latest Stable Version](https://camo.githubusercontent.com/3e35d46768466b5cf85fb2b0407594eb738e676d411c855dce6bd9262e7975d5/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f796969322d626f6f747374726170342f762f737461626c652e706e67)](https://packagist.org/packages/yiisoft/yii2-bootstrap4)[![Total Downloads](https://camo.githubusercontent.com/5e42ea47c6b6f77b5d914aa3b4a5cd99669d7178be53d8df0e41ffc08fc591cd/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f796969322d626f6f747374726170342f646f776e6c6f6164732e706e67)](https://packagist.org/packages/yiisoft/yii2-bootstrap4)[![Build Status](https://camo.githubusercontent.com/92bf9f2712573cf2e5c36fccc31f0da97b2a5f0e32a142bdde5f387151abb6f3/68747470733a2f2f7472617669732d63692e6f72672f796969736f66742f796969322d626f6f747374726170342e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yiisoft/yii2-bootstrap4)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist yiisoft/yii2-bootstrap4

```

or add

```
"yiisoft/yii2-bootstrap4": "~1.0.0"

```

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:

```
