PHPackages                             pistol88/yii2-micro-shop - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. pistol88/yii2-micro-shop

ActiveYii2-extension[Admin Panels](/categories/admin)

pistol88/yii2-micro-shop
========================

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

034PHP

Since May 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/pistol88/yii2-micro-shop)[ Packagist](https://packagist.org/packages/pistol88/yii2-micro-shop)[ RSS](/packages/pistol88-yii2-micro-shop/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2-shop
=========

[](#yii2-shop)

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

Установка
---------

[](#установка)

```
php composer require pistol88/yii2-shop

```

Миграция:

```
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 ;

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

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

```

В секцию modules конфига добавить:

```
    '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',
        ],
        //..
    ]

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8104605?v=4)[pistol88](/maintainers/pistol88)[@pistol88](https://github.com/pistol88)

---

Top Contributors

[![pistol88](https://avatars.githubusercontent.com/u/8104605?v=4)](https://github.com/pistol88 "pistol88 (14 commits)")

### Embed Badge

![Health badge](/badges/pistol88-yii2-micro-shop/health.svg)

```
[![Health](https://phpackages.com/badges/pistol88-yii2-micro-shop/health.svg)](https://phpackages.com/packages/pistol88-yii2-micro-shop)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
