PHP code example of mooza / yii2-likely

1. Go to this page and download the library: Download mooza/yii2-likely library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mooza / yii2-likely example snippets


use mooza\likely\Likely;

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

$ php composer.phar