The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist "c006/yii2-products" "*"
or add
"c006/yii2-products": "*"
to the require section of your composer.json
file.
"repositories": [
{
"type": "vcs",
"url": "https://github.com/c006/yii2-products.git"
}
]
'modules' => [
'products' => [
'class' => 'c006\products\Module',
'loginPath' => '/account/dashboard',
],
],
php composer.phar require --prefer-dist "c006/yii2-core" "*"
php composer.phar require --prefer-dist "c006/yii2-spinner" "*"
php composer.phar require --prefer-dist "c006/yii2-alerts" "*"