PHPackages                             meliorator/yii2-helpers - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. meliorator/yii2-helpers

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

meliorator/yii2-helpers
=======================

Yii-Framework small helpers

091PHP

Since Oct 14Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

\#My small helper classes for yii2 for using migration class template, need added this code

```
'controllerMap' => [
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'templateFile' => '@app/vendor/meliorator/yii2-helpers/migration_template.php',
        ],
    ],
```

\####for use localization site

- add to config/web.php components section follow code

```
'i18n' => [
            'translations' => [
                'app*' => [
                    'class' => 'yii\i18n\PhpMessageSource',
                    'basePath' => '@app/messages',
                    'sourceLanguage' => 'en-US',
                    'fileMap' => [
                        'app'       => 'app.php',
//                        'app/error' => 'error.php',
                    ],
                ],
            ],
        ],
```

- add support languages to params

```
'langs' => [
        'en' => 'English', 'ua' => 'Українська', 'ru' => 'Русский'
    ],
'defaultLangId' => 'en',
```

- attach behavior LocalizeBehavior to Controller

```
public function behaviors() {
        return ArrayHelper::merge(parent::behaviors(), [
                'localizeBehavior' => LocalizeBehavior::className(),
            ]
        );
    }
```

###  Health Score

22

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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://www.gravatar.com/avatar/659d6e7e753ea1b230c17fa7f3d6b6af21d84cdb89175a0d94480496f6549278?d=identicon)[meliorator](/maintainers/meliorator)

---

Top Contributors

[![meliorator](https://avatars.githubusercontent.com/u/700338?v=4)](https://github.com/meliorator "meliorator (18 commits)")

### Embed Badge

![Health badge](/badges/meliorator-yii2-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/meliorator-yii2-helpers/health.svg)](https://phpackages.com/packages/meliorator-yii2-helpers)
```

###  Alternatives

[david-r-edgar/rdp

Ramer–Douglas–Peucker algorithm for polyline simplification

2332.2k](/packages/david-r-edgar-rdp)[avram/vokativ

Library used to convert first names from Serbian language into their vocative case.

1318.1k](/packages/avram-vokativ)

PHPackages © 2026

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