exoodev / yii2-shop
There is no license information available for the latest version (1.0.2) of this package.
The Shop extension for the Yii2 framework
1.0.2
2019-09-25 14:06 UTC
Requires
- php: >=7.1
- creocoder/yii2-nested-sets: 0.9.*
- elasticsearch/elasticsearch: ^5.2
- elisdn/yii2-composite-form: *
- exoodev/yii2-datepicker: *
- exoodev/yii2-exookit: *
- exoodev/yii2-fontawesome: *
- exoodev/yii2-grid: *
- exoodev/yii2-joditeditor: *
- exoodev/yii2-nested: *
- exoodev/yii2-position: *
- exoodev/yii2-rating: *
- exoodev/yii2-select2: *
- exoodev/yii2-status: *
- exoodev/yii2-storage: *
- exoodev/yii2-store-js: *
- exoodev/yii2-timepicker: *
- exoodev/yii2-uikit: *
- la-haute-societe/yii2-save-relations-behavior: *
- phpoffice/phpexcel: ^1.8
- yii-cms/yii2-robokassa: ^1.1
- yii2tech/ar-dynattribute: *
- yii2tech/ar-linkmany: *
- yii2tech/ar-position: *
- yiisoft/yii2: ~2.0.14
- yiisoft/yii2-queue: ^2.0
- yiisoft/yii2-redis: ^2.0
This package is auto-updated.
Last update: 2025-03-01 00:14:51 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist exoodev/yii2-shop
or add
"exoodev/yii2-shop": "*"
to the require section of your composer.json.
Usage
Example backend configuration:
return [
'modules' => [
'shop' => [
'class' => 'exoo\shop\Module',
'isBackend' => true,
],
],
'components' => [
'menu' => [
'class' => 'exoo\system\components\Menu',
'items' => [
'shop' => '@exoo/shop/config/backend/menu',
],
],
'redis' => [
'class' => 'yii\redis\Connection',
'hostname' => 'localhost',
'port' => 6379,
'database' => 0,
],
]
];
Example frontend configuration:
return [
'modules' => [
'shop' => [
'class' => 'exoo\shop\Module',
]
],
'components' => [
'redis' => [
'class' => 'yii\redis\Connection',
'hostname' => 'localhost',
'port' => 6379,
'database' => 0,
],
]
];
Migration
yii migrate --migrationPath=@exoo/shop/migrations