ignatenkovnikita/yii2-vk-market

Yii2 VK Markeet Module

v1.0 2020-08-06 23:15 UTC

This package is auto-updated.

Last update: 2024-12-10 06:07:28 UTC


README

Add to config

'vkmarket' => [
            'class' => 'ignatenkovnikita\vkmarket\Module',
            'controllerNamespace' => \ignatenkovnikita\vkmarket\Module::backendControllerNamespace(),
            'viewPath' => '@vendor/ignatenkovnikita/yii2-vk-market/backend/views',
            'product' => you_class_product,
            'accessToken' => your_access_token,
            'groupId' => youar_group_id,
            'ownerId' => youar_owner_id
        ],

Run Migration

 ./console/yii migrate --migrationPath=vendor/ignatenkovnikita/yii2-vk-market/migrations/

Implements interface Product