jace bd52f6699d noride project 7 years ago
..
ActiveField.php bd52f6699d noride project 7 years ago
ActiveForm.php bd52f6699d noride project 7 years ago
Alert.php bd52f6699d noride project 7 years ago
BaseHtml.php bd52f6699d noride project 7 years ago
BootstrapAsset.php bd52f6699d noride project 7 years ago
BootstrapPluginAsset.php bd52f6699d noride project 7 years ago
BootstrapThemeAsset.php bd52f6699d noride project 7 years ago
BootstrapWidgetTrait.php bd52f6699d noride project 7 years ago
Button.php bd52f6699d noride project 7 years ago
ButtonDropdown.php bd52f6699d noride project 7 years ago
ButtonGroup.php bd52f6699d noride project 7 years ago
CHANGELOG.md bd52f6699d noride project 7 years ago
Carousel.php bd52f6699d noride project 7 years ago
Collapse.php bd52f6699d noride project 7 years ago
Dropdown.php bd52f6699d noride project 7 years ago
Html.php bd52f6699d noride project 7 years ago
InputWidget.php bd52f6699d noride project 7 years ago
LICENSE.md bd52f6699d noride project 7 years ago
Makefile bd52f6699d noride project 7 years ago
Modal.php bd52f6699d noride project 7 years ago
Nav.php bd52f6699d noride project 7 years ago
NavBar.php bd52f6699d noride project 7 years ago
Progress.php bd52f6699d noride project 7 years ago
README.md bd52f6699d noride project 7 years ago
Tabs.php bd52f6699d noride project 7 years ago
ToggleButtonGroup.php bd52f6699d noride project 7 years ago
Widget.php bd52f6699d noride project 7 years ago
composer.json bd52f6699d noride project 7 years ago

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