yii2-bootstrap4

Yii 2 Bootstrap 4 Extension

Github stars Tracking Chart

This is the Twitter Bootstrap extension for Yii framework 2.0. It encapsulates Bootstrap 4 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-file.

Documentation is at docs/guide/README.md.

Latest Stable Version
Total Downloads
Build Status

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"yiisoft/yii2-bootstrap4": "~2.0.6"

to the require section of your composer.json file.

Usage

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

<?= yii\bootstrap4\Progress::widget(['percent' => 60, 'label' => 'test']) ?>

Main metrics

Overview
Name With Owneryiisoft/yii2-bootstrap4
Primary LanguagePHP
Program languagePHP (Language Count: 2)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2018-04-04 17:04:19
Pushed At2025-02-13 21:11:42
Last Commit At2025-02-14 00:11:38
Release Count13
Last Release Name2.0.12 (Posted on 2025-02-14 00:11:30)
First Release Name2.0.0 (Posted on 2019-01-29 00:56:40)
用户参与
Stargazers Count215
Watchers Count38
Fork Count104
Commits Count5.1k
Has Issues Enabled
Issues Count110
Issue Open Count16
Pull Requests Count114
Pull Requests Open Count1
Pull Requests Close Count17
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private