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
Requires
- php: >=5.5
- yiisoft/yii2: *
- yiisoft/yii2-httpclient: ~2.0.0
This package is auto-updated.
Last update: 2024-11-05 07:16:15 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' => '', ]);