jace ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
..
ActiveField.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
ActiveForm.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Alert.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
BaseHtml.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
BootstrapAsset.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
BootstrapPluginAsset.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
BootstrapThemeAsset.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
BootstrapWidgetTrait.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Button.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
ButtonDropdown.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
ButtonGroup.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
CHANGELOG.md ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Carousel.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Collapse.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Dropdown.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Html.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
InputWidget.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
LICENSE.md ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Makefile ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Modal.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Nav.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
NavBar.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Progress.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
README.md ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Tabs.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
ToggleButtonGroup.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
Widget.php ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce
composer.json ca8b17eef4 VG项目的代码(基于和隆项目的代码) 7 yıl önce

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