yii2-bootstrap

Yii 2 Bootstrap 3 Extension

Github星跟踪图

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

or add

"yiisoft/yii2-bootstrap": "~2.0.0"

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\bootstrap\Progress::widget(['percent' => 60, 'label' => 'test']) ?>

主要指标

概览
名称与所有者yiisoft/yii2-bootstrap
主编程语言PHP
编程语言PHP (语言数: 2)
平台
许可证BSD 3-Clause "New" or "Revised" License
所有者活动
创建于2013-11-03 04:40:47
推送于2025-05-29 09:27:48
最后一次提交2025-05-29 05:27:48
发布数15
最新版本名称2.0.11 (发布于 2021-08-09 23:54:16)
第一版名称2.0.0-alpha (发布于 )
用户参与
星数184
关注者数49
派生数191
提交数4.9k
已启用问题?
问题数132
打开的问题数25
拉请求数78
打开的拉请求数5
关闭的拉请求数64
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?