Robin 0aecabe713 以normand项目作为基础版本库 6 년 전
..
ActiveField.php 0aecabe713 以normand项目作为基础版本库 6 년 전
ActiveForm.php 0aecabe713 以normand项目作为基础版本库 6 년 전
Alert.php 0aecabe713 以normand项目作为基础版本库 6 년 전
BaseHtml.php 0aecabe713 以normand项目作为基础版本库 6 년 전
BootstrapAsset.php 0aecabe713 以normand项目作为基础版本库 6 년 전
BootstrapPluginAsset.php 0aecabe713 以normand项目作为基础版本库 6 년 전
BootstrapThemeAsset.php 0aecabe713 以normand项目作为基础版本库 6 년 전
BootstrapWidgetTrait.php 0aecabe713 以normand项目作为基础版本库 6 년 전
Button.php 0aecabe713 以normand项目作为基础版本库 6 년 전
ButtonDropdown.php 0aecabe713 以normand项目作为基础版本库 6 년 전
ButtonGroup.php 0aecabe713 以normand项目作为基础版本库 6 년 전
CHANGELOG.md 0aecabe713 以normand项目作为基础版本库 6 년 전
Carousel.php 0aecabe713 以normand项目作为基础版本库 6 년 전
Collapse.php 0aecabe713 以normand项目作为基础版本库 6 년 전
Dropdown.php 0aecabe713 以normand项目作为基础版本库 6 년 전
Html.php 0aecabe713 以normand项目作为基础版本库 6 년 전
InputWidget.php 0aecabe713 以normand项目作为基础版本库 6 년 전
LICENSE.md 0aecabe713 以normand项目作为基础版本库 6 년 전
Makefile 0aecabe713 以normand项目作为基础版本库 6 년 전
Modal.php 0aecabe713 以normand项目作为基础版本库 6 년 전
Nav.php 0aecabe713 以normand项目作为基础版本库 6 년 전
NavBar.php 0aecabe713 以normand项目作为基础版本库 6 년 전
Progress.php 0aecabe713 以normand项目作为基础版本库 6 년 전
README.md 0aecabe713 以normand项目作为基础版本库 6 년 전
Tabs.php 0aecabe713 以normand项目作为基础版本库 6 년 전
ToggleButtonGroup.php 0aecabe713 以normand项目作为基础版本库 6 년 전
Widget.php 0aecabe713 以normand项目作为基础版本库 6 년 전
composer.json 0aecabe713 以normand项目作为基础版本库 6 년 전

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']) ?>