PHPackages                             ignatenkovnikita/yii2-def-code - 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. [Framework](/categories/framework)
4. /
5. ignatenkovnikita/yii2-def-code

ActiveYii2-extension[Framework](/categories/framework)

ignatenkovnikita/yii2-def-code
==============================

Yii2 Def Code Module

v1.1(8y ago)017BSD-3-ClausePHP

Since Mar 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ignatenkovnikita/yii2-def-code)[ Packagist](https://packagist.org/packages/ignatenkovnikita/yii2-def-code)[ RSS](/packages/ignatenkovnikita-yii2-def-code/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

yii2-def-code
=============

[](#yii2-def-code)

Yii2 Def Code Module

### Install

[](#install)

```
composer require ignatenkovnikita/yii2-def-code:dev-master
```

Add to backend config

```
'defcode' => [
    'class' => 'ignatenkovnikita\defcode\Module',
    'controllerNamespace' => \ignatenkovnikita\defcode\Module::backendControllerNamespace(),
    'viewPath' => '@vendor/ignatenkovnikita/yii2-def-code/backend/views',
],
```

Add to console config

```
'bootstrap' => ['def-code']
'modules' => [
    ...
    'def-code' => [
        'class' => \ignatenkovnikita\defcode\Module::class,
        'listUrl' => [
            DefCode::TYPE_ABC9 => 'https://rossvyaz.ru/data/DEF-9xx.csv',
        ],
        'smscLogin' => 'SMSC_LOGIN',
        'smscPassword' => 'SMSC_PASSWORD',
    ],
    ...
],
```

Apply Migration

```
./console/yii migrate/create --migrationPath=vendor/ignatenkovnikita/yii2-def-code/migrations/
```

Workflow load and import data:

- Download files, command

```
./console/yii def-code/download-all
```

- After import files, command

```
./console/yii def-code/import
```

- Delete old files

```
./console/yii def-code/delete-old-files
```

Mnp download full and import

```
./console/yii mnp/download
./console/yii mnp/import
```

Mnp download detail, date yesterday, advise run in hour night

```
./console/yii mnp/download-detail
./console/yii mnp/import-detail
```

TODO

- add test
- refactoring

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~9 days

Total

2

Last Release

2961d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4436320?v=4)[Nikita Ignatenkov](/maintainers/ignatenkovnikita)[@ignatenkovnikita](https://github.com/ignatenkovnikita)

---

Top Contributors

[![ignatenkovnikita](https://avatars.githubusercontent.com/u/4436320?v=4)](https://github.com/ignatenkovnikita "ignatenkovnikita (35 commits)")

---

Tags

defcodeyii2-componentyii2-extensionyii2-modulesyii2extensionmoduledefdefcodegsm infodef code

### Embed Badge

![Health badge](/badges/ignatenkovnikita-yii2-def-code/health.svg)

```
[![Health](https://phpackages.com/badges/ignatenkovnikita-yii2-def-code/health.svg)](https://phpackages.com/packages/ignatenkovnikita-yii2-def-code)
```

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[akiraz2/yii2-blog

Simple, configurable blog module for Yii2 (post, comment, nested category, tags). + frontend, backend. + SEO! (Opengraph, Schema.org)

906.7k](/packages/akiraz2-yii2-blog)

PHPackages © 2026

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