PHPackages                             gud3/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. gud3/yii2-helpers

ActiveYii2-extension

gud3/yii2-helpers
=================

This is the package of classes that I use from project to project.

0.0.2(8y ago)0178Apache-2.0PHP

Since Jul 30Pushed 8y ago1 watchersCompare

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

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

My personal helper.
===================

[](#my-personal-helper)

This is the package of classes that I use from project to project.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist gud3/yii2-helpers "*"

```

or add

```
"gud3/yii2-helpers": "*"

```

to the require section of your `composer.json` file.

**Migration**

Usage for create template migration file, it saves you time, creates an empty template, to create a table.

```
return [
    'components' => [
        ...
    ],
    'controllerMap' => [
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'templateFile' => '@vendor/gud3/yii2-helpers/migrations/templates/base.php'
        ],
    ],
    ...
];

```

If you need create index in table use `class gud3\helpers\migrations\Indexes` need extends of his and set and override the $indexes property. Where key in array it is a table name and value it's column example:

```
public $indexes = [
    'user' => ['email', 'status']
    ...
];

```

And delete function of the up, down. They are in Indexes class.

To create a table with countries in short codes for them, also inherit in the migration class from the Country class `gud3\helpers\migrations\Countries`, remove the functions up, down.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Every ~24 days

Total

2

Last Release

3184d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8626fdc5b30c9e2aba183d1981e7a69f6840f07998647391396b3cbf8d328590?d=identicon)[gud3](/maintainers/gud3)

---

Top Contributors

[![gud3](https://avatars.githubusercontent.com/u/16295609?v=4)](https://github.com/gud3 "gud3 (10 commits)")

---

Tags

yii2yii2-migrateyii2-db yii2-helper yii2-array

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)

PHPackages © 2026

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