molexui/yii2-bootstrap4
最新稳定版本:v2.0.0
Composer 安装命令:
composer require molexui/yii2-bootstrap4
包简介
The Twitter Bootstrap extension for the Yii framework with Small Enhancement
README 文档
README
Twitter Bootstrap 4 Extension for Yii 2
This is the Twitter Bootstrap extension for Yii framework 2.0. It encapsulates Bootstrap 4 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.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist molexui/yii2-bootstrap4
or add
"molexui/yii2-bootstrap4": "~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:
<?= molexui\bootstrap4\Progress::widget(['percent' => 60, 'label' => 'test']) ?>
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2024-07-26