oubo 36d7c0abb7 84a0bd5ae 6 years ago
..
ActiveField.php 96d7f35943 v1.0.8 6 years ago
ActiveForm.php 96d7f35943 v1.0.8 6 years ago
Alert.php 96d7f35943 v1.0.8 6 years ago
BootstrapAsset.php 96d7f35943 v1.0.8 6 years ago
BootstrapPluginAsset.php 96d7f35943 v1.0.8 6 years ago
BootstrapThemeAsset.php 96d7f35943 v1.0.8 6 years ago
Button.php 96d7f35943 v1.0.8 6 years ago
ButtonDropdown.php 96d7f35943 v1.0.8 6 years ago
ButtonGroup.php 96d7f35943 v1.0.8 6 years ago
CHANGELOG.md 96d7f35943 v1.0.8 6 years ago
Carousel.php 96d7f35943 v1.0.8 6 years ago
Collapse.php 96d7f35943 v1.0.8 6 years ago
Dropdown.php 96d7f35943 v1.0.8 6 years ago
Modal.php 96d7f35943 v1.0.8 6 years ago
Nav.php 96d7f35943 v1.0.8 6 years ago
NavBar.php 96d7f35943 v1.0.8 6 years ago
Progress.php 96d7f35943 v1.0.8 6 years ago
README.md 96d7f35943 v1.0.8 6 years ago
Tabs.php 96d7f35943 v1.0.8 6 years ago
Widget.php 96d7f35943 v1.0.8 6 years ago
composer.json 36d7c0abb7 84a0bd5ae 6 years ago

README.md

Twitter Bootstrap Extension for Yii 2

This is the Twitter Bootstrap extension for Yii 2. It encapsulates Bootstrap components and plugins in terms of Yii widgets, and thus makes using Bootstrap components/plugins in Yii applications extremely easy. 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']) ?>

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": "*"

to the require section of your composer.json file.