jace 3129c4f082 增加文件 6 lat temu
..
ActiveField.php 3129c4f082 增加文件 6 lat temu
ActiveForm.php 3129c4f082 增加文件 6 lat temu
Alert.php 3129c4f082 增加文件 6 lat temu
BaseHtml.php 3129c4f082 增加文件 6 lat temu
BootstrapAsset.php 3129c4f082 增加文件 6 lat temu
BootstrapPluginAsset.php 3129c4f082 增加文件 6 lat temu
BootstrapThemeAsset.php 3129c4f082 增加文件 6 lat temu
BootstrapWidgetTrait.php 3129c4f082 增加文件 6 lat temu
Button.php 3129c4f082 增加文件 6 lat temu
ButtonDropdown.php 3129c4f082 增加文件 6 lat temu
ButtonGroup.php 3129c4f082 增加文件 6 lat temu
CHANGELOG.md 3129c4f082 增加文件 6 lat temu
Carousel.php 3129c4f082 增加文件 6 lat temu
Collapse.php 3129c4f082 增加文件 6 lat temu
Dropdown.php 3129c4f082 增加文件 6 lat temu
Html.php 3129c4f082 增加文件 6 lat temu
InputWidget.php 3129c4f082 增加文件 6 lat temu
LICENSE.md 3129c4f082 增加文件 6 lat temu
Makefile 3129c4f082 增加文件 6 lat temu
Modal.php 3129c4f082 增加文件 6 lat temu
Nav.php 3129c4f082 增加文件 6 lat temu
NavBar.php 3129c4f082 增加文件 6 lat temu
Progress.php 3129c4f082 增加文件 6 lat temu
README.md 3129c4f082 增加文件 6 lat temu
Tabs.php 3129c4f082 增加文件 6 lat temu
ToggleButtonGroup.php 3129c4f082 增加文件 6 lat temu
Widget.php 3129c4f082 增加文件 6 lat temu
composer.json 3129c4f082 增加文件 6 lat temu

README.md

Twitter Bootstrap Extension for Yii 2


This is the Twitter Bootstrap extension for Yii framework 2.0. It encapsulates Bootstrap 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']) ?>