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

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