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

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