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

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.