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

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

rmenor/yii2-bootstrap5
======================

The Twitter Bootstrap v5 extension for the Yii framework

2.0.5(1y ago)011BSD-3-ClausePHPPHP &gt;=7.0

Since Mar 2Pushed 1y agoCompare

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

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

 [ ![](https://camo.githubusercontent.com/1831a811d2488788d4265d26d4e83347520277c1969d3fa11533922c0a682648/68747470733a2f2f676574626f6f7473747261702e636f6d2f646f63732f352e302f6173736574732f6272616e642f626f6f7473747261702d6c6f676f2e737667) ](https://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](https://www.yiiframework.com). It encapsulates [Bootstrap 5](https://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/e44b7d80941790048dc22d22ad4181ba7d25a4816e7b72ce5508a88fe45614bc/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f796969322d626f6f747374726170352f762f737461626c652e706e67)](https://packagist.org/packages/yiisoft/yii2-bootstrap5)[![Total Downloads](https://camo.githubusercontent.com/ba7a8bbe8f1af7fc35fd2f4adf2d24c8842036ad144a56889be12c0a448423a7/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f796969322d626f6f747374726170352f646f776e6c6f6164732e706e67)](https://packagist.org/packages/yiisoft/yii2-bootstrap5)[![Build Status](https://github.com/yiisoft/yii2-bootstrap5/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-bootstrap5/actions)

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

[](#installation)

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

Either run

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

```

or add

```
"yiisoft/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:

```
