exoodev / yii2-shop
The Shop extension for the Yii2 framework
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:yii2-extension
pkg:composer/exoodev/yii2-shop
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-10-29 02:30:06 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