PHP code example of skeeks / cms-ya-share

1. Go to this page and download the library: Download skeeks/cms-ya-share 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/ */

    

skeeks / cms-ya-share example snippets



<?= \skeeks\cms\yandex\share\widget\YaShareWidget::widget([
    'namespace' => 'YaShareWidget-main',
    'apiId'     => 4982033
]);