amilna/yii2-yes

Yii Ecommerce Support

Maintainers

Details

github.com/amilna/yes

Source

Issues

Installs: 120

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 6

Forks: 4

Open Issues: 1

Type:yii2-extension

dev-master 2016-02-01 07:51 UTC

This package is not auto-updated.

Last update: 2024-11-09 17:24:53 UTC


README

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

Installation

The preferred way to install this extension is through composer.

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

"minimum-stability": "dev",
"prefer-stable": true,
"repositories":[
		
		{
			"type": "vcs",
			"url": "https://github.com/aaiyo/yii2-kcfinder"
		}	
   ]

After, either run

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

or add

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

to the require section of your composer.json file.

run migration for database

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

add in modules section of main config

	'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