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

ActiveYii2-extension

eseperio/yii2-bootstrap
=======================

Modified version of the Twitter Bootstrap extension for the Yii framework to be compatible with bootstrap5

2.0.15(4y ago)094↓100%BSD-3-ClausePHP

Since Nov 25Pushed 4y agoCompare

[ Source](https://github.com/Eseperio/yii2-bootstrap)[ Packagist](https://packagist.org/packages/eseperio/yii2-bootstrap)[ GitHub Sponsors](https://github.com/yiisoft)[ Fund](https://opencollective.com/yiisoft)[ RSS](/packages/eseperio-yii2-bootstrap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (20)Used By (0)

```
Important: This is a modified package to be able to install both bootstrap3 and bootstrap5 within the same project.
Composer does not allow installing multiple versions of same package and both depends originally from bower. Now
this package depends on NPM.

```

---

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

Twitter Bootstrap Extension for Yii 2 | Bower
=============================================

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

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://github.com/yiisoft/yii2-bootstrap/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-bootstrap/actions)

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:

```
