strong2much/yii2-vk

Helper class to work with Vkontakte services and API

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Type:yii2-extension

dev-master 2016-08-01 19:12 UTC

This package is auto-updated.

Last update: 2024-12-05 07:29:16 UTC


README

Helper class to work with Vkontakte services and API.

Installation

Install package by composer

{
    "require": {
       "strong2much/yii2-vk": "dev-master"
    }
}

Or

$ composer require strong2much/yii2-vk "dev-master"

Use the following code in your configuration file. You can use different services

'vk' => [
    'class' => 'strong2much\vk\Api'
]

Use the following code to run widget in view:

echo strong2much\vk\widgets\ShareButtonWidget::widget([
    'url' => '',
]);