powerkernel/yii2-bootstrapsocial Bootstrap Social extension for Yii2

bootstrapsocial

Yii2 Bootstrap Social

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
]) ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.0.3 is the latest of 4 releases



BSD-3-Clause license
Stats
0 github stars & 0 github forks
1 downloads in the last day
35 downloads in the last 30 days
5250 total downloads