modernkernel/yii2-bootstrapsocial

This package is abandoned and no longer maintained. The author suggests using the powerkernel/yii2-bootstrapsocial package instead.

Bootstrap Social extension for Yii2

Installs: 137

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Type:yii2-extension

1.0.0 2017-12-04 04:29 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:59:27 UTC


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