mead cff8596724 init пре 4 година
..
ActiveField.php cff8596724 init пре 4 година
ActiveForm.php cff8596724 init пре 4 година
Alert.php cff8596724 init пре 4 година
BaseHtml.php cff8596724 init пре 4 година
BootstrapAsset.php cff8596724 init пре 4 година
BootstrapPluginAsset.php cff8596724 init пре 4 година
BootstrapThemeAsset.php cff8596724 init пре 4 година
BootstrapWidgetTrait.php cff8596724 init пре 4 година
Button.php cff8596724 init пре 4 година
ButtonDropdown.php cff8596724 init пре 4 година
ButtonGroup.php cff8596724 init пре 4 година
CHANGELOG.md cff8596724 init пре 4 година
Carousel.php cff8596724 init пре 4 година
Collapse.php cff8596724 init пре 4 година
Dropdown.php cff8596724 init пре 4 година
Html.php cff8596724 init пре 4 година
InputWidget.php cff8596724 init пре 4 година
Makefile cff8596724 init пре 4 година
Modal.php cff8596724 init пре 4 година
Nav.php cff8596724 init пре 4 година
NavBar.php cff8596724 init пре 4 година
Progress.php cff8596724 init пре 4 година
README.md cff8596724 init пре 4 година
Tabs.php cff8596724 init пре 4 година
ToggleButtonGroup.php cff8596724 init пре 4 година
Widget.php cff8596724 init пре 4 година
composer.json cff8596724 init пре 4 година

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