PHPackages                             daxslab/yii2-bootstrap - 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. daxslab/yii2-bootstrap

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

daxslab/yii2-bootstrap
======================

The Twitter Bootstrap extension for the Yii framework

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

Since Nov 25Pushed 7y ago2 watchersCompare

[ Source](https://github.com/daxslab/yii2-bootstrap)[ Packagist](https://packagist.org/packages/daxslab/yii2-bootstrap)[ RSS](/packages/daxslab-yii2-bootstrap/feed)WikiDiscussions master Synced yesterday

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

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

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

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

This is the Twitter Bootstrap extension for [Yii framework 2.0](http://www.yiiframework.com). It encapsulates [Bootstrap 3](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/2ce7e82591984753ae34aad0321ec163d54c614b62a4bc23b203e5efe5f6f096/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f796969322d626f6f7473747261702f762f737461626c652e706e67)](https://packagist.org/packages/yiisoft/yii2-bootstrap)[![Total Downloads](https://camo.githubusercontent.com/8c8d928e99f201bdffd2d3805b107087923514ec543c1d4f7e144e935a246d13/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f796969322d626f6f7473747261702f646f776e6c6f6164732e706e67)](https://packagist.org/packages/yiisoft/yii2-bootstrap)[![Build Status](https://camo.githubusercontent.com/53b3d7a048c4970b5698f0cedc8bb8c6b5f32e2f5ca1316f61334514ba58c19c/68747470733a2f2f7472617669732d63692e6f72672f796969736f66742f796969322d626f6f7473747261702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yiisoft/yii2-bootstrap)

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-bootstrap

```

or add

```
"yiisoft/yii2-bootstrap": "~2.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:

```
