- Notifications
You must be signed in to change notification settings - Fork104
Yii 2 Bootstrap 4 Extension
License
NotificationsYou must be signed in to change notification settings
yiisoft/yii2-bootstrap4
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is the Twitter Bootstrap extension forYii framework 2.0. It encapsulatesBootstrap 4 componentsand plugins in terms of Yii widgets, and thus makes using Bootstrap components/pluginsin Yii applications extremely easy.
For license information check theLICENSE-file.
Documentation is atdocs/guide/README.md.
The preferred way to install this extension is throughcomposer.
Either run
php composer.phar require --prefer-dist yiisoft/yii2-bootstrap4
or add
"yiisoft/yii2-bootstrap4": "~2.0.6"
to the require section of yourcomposer.json
file.
For example, the followingsingle line of code in a view file would render a Bootstrap Progress plugin:
<?=yii\bootstrap4\Progress::widget(['percent' =>60,'label' =>'test'])?>
About
Yii 2 Bootstrap 4 Extension