2017 © Pedro Peláez
 

yii2-extension yii2-yes

Yii Ecommerce Support

image

amilna/yii2-yes

Yii Ecommerce Support

  • Monday, February 1, 2016
  • by aaiyo
  • Repository
  • 7 Watchers
  • 6 Stars
  • 118 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yes

Yii2 E-commerce Support, includes categories, products, orders, sales, customers, payment and confirmations. (support mysql and postgresql), (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Since this package do not have stable release on packagist, you should use these settings in your composer.json file :, (*3)

"minimum-stability": "dev",
"prefer-stable": true,
"repositories":[

        {
            "type": "vcs",
            "url": "https://github.com/aaiyo/yii2-kcfinder"
        }   
   ]

After, either run, (*4)

php composer.phar require --prefer-dist amilna/yii2-yes "dev-master"

or add, (*5)

"amilna/yii2-yes": "dev-master"

to the require section of your composer.json file., (*6)

run migration for database, (*7)

./yii migrate --migrationPath=@amilna/yes/migrations

add in modules section of main config, (*8)

    'gridview' =>  [
        'class' => 'kartik\grid\Module',
    ],
    'yes' => [
        'class' => 'amilna\yes\Module',
        /* 'userClass' => 'dektrium\user\models\User', // example if use another user class */
        'currency' => ["symbol"=>"Rp","decimal_separator"=>",","thousand_separator"=>"."],
    ],

Usage

Once the extension is installed, check the url: [your application base url]/index.php/yes, (*9)

The Versions