2017 © Pedro Peláez
 

yii2-extension yii2-micro-shop

yii2-shop it's a module for site micro-shop backend

image

pistol88/yii2-micro-shop

yii2-shop it's a module for site micro-shop backend

  • Saturday, May 13, 2017
  • by pistol88
  • Repository
  • 1 Watchers
  • 0 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2-shop

Модуль представляет из себя бекенд для очень маленького Интернет-магазина., (*1)

Установка

php composer require pistol88/yii2-shop

Миграция:, (*2)

php yii migrate --migrationPath=vendor/pistol88/yii2-micro-shop/migrations

Настройка

//ALTER TABLE shop_product ADD price DECIMAL( 11, 2 ) NULL ; //ALTER TABLE shop_incoming ADD price DECIMAL( 11, 2 ) NULL , ADD product_id INT( 11 ) NULL , ADD amount INT( 11 ) NULL ;, (*3)

В конфиг (скорее всего, bootstrap.php) добавить:, (*4)

Yii::setAlias('@storageUrl','/frontend/web/images');

В секцию modules конфига добавить:, (*5)

    'modules' => [
        //..
        'microshop' => [
            'class' => 'pistol88\microshop\Module',
            'adminRoles' => ['administrator'],
        ],
        'gallery' => [
            'class' => 'pistol88\gallery\Module',
            'imagesStorePath' => dirname(dirname(__DIR__)).'/storage/web/images/store',
            'imagesCachePath' => dirname(dirname(__DIR__)).'/storage/web/images/cache',
            'graphicsLibrary' => 'GD',
            'placeHolderPath' => dirname(dirname(__DIR__)).'/storage/web/images/placeHolder.png',
        ],
        //..
    ]

The Versions

13/05 2017

dev-master

9999999-dev https://github.com/pistol88/yii2-micro-shop

yii2-shop it's a module for site micro-shop backend

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Ilya Pistol

yii2 crud module yii 2 backend application shop pistol88