Skip to content

zergbz1988/yii2-widget-ilyabirman-likely

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-likely

The Likely widget is a wrapper for the Likely Plugin JS Plugin designed by Ilya Birman. This plugin is a simple and beautiful created for adding social sharing buttons that aren’t shabby.

Installation

The preferred way to install this extension is through composer. Check the composer.json for this extension's requirements and dependencies.

To install, either run

$ php composer.phar require mooza/yii2-likely "*"

or add

"mooza/yii2-likely": "*"

to the require section of your composer.json file.

Latest Release

NOTE: The latest version of the module is v1.0.0. Refer the CHANGE LOG for details.

Usage

use mooza\likely\Likely;

echo Likely::widget([
    'pluginOptions' => [
        'colorClass' => 'light',
        'items' => [
            [
                'class' => 'facebook'
            ],
            [
                'class' => 'twitter',
                'title' => 'Share'
            ],
        ]
    ]
]);

License

yii2-likely is released under the BSD 3-Clause License. See the bundled LICENSE.md for details.