powerkernel/yii2-bootstrapsocial
最新稳定版本:1.0.0
Composer 安装命令:
composer require powerkernel/yii2-bootstrapsocial
包简介
Bootstrap Social extension for Yii2
关键字:
README 文档
README
Bootstrap Social extension for Yii2
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist powerkernel/yii2-bootstrapsocial "*"
or add
"powerkernel/yii2-bootstrapsocial": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \powerkernel\bootstrapsocial\Button::widget([
'button' => 'twitter', // Available buttons see https://github.com/lipis/bootstrap-social/
'iconOnly' => false, // set true if only want the icon
'link' => '#your-url', // the button URL
'label'=> 'Button label', // button label
]) ?>
统计信息
- 总下载量: 6.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-12-03