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

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

goodizer/yii2-helpers
=====================

An advanced Yii 2 helpers.

v1.4.0(7y ago)1139MITPHP

Since Apr 19Pushed 7y ago2 watchersCompare

[ Source](https://github.com/goodizer/yii2-helpers)[ Packagist](https://packagist.org/packages/goodizer/yii2-helpers)[ Docs](https://github.com/goodizer/yii2-helpers)[ RSS](/packages/goodizer-yii2-helpers/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (0)

yii2-helpers
============

[](#yii2-helpers)

[![Latest Stable Version](https://camo.githubusercontent.com/bfba36430c4f6c3e314f3ef34b7517cc7bab5caf77764966c7a6e594f8c730f8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676f6f64697a65722f796969322d68656c706572732e737667)](https://packagist.org/packages/goodizer/yii2-helpers)[![License](https://camo.githubusercontent.com/7300d41e2c17d763595667635abb8d616a6f2acbd1146175276cc06d42734699/68747470733a2f2f706f7365722e707567782e6f72672f676f6f64697a65722f796969322d68656c706572732f6c6963656e7365)](https://packagist.org/packages/goodizer/yii2-helpers)[![Total Downloads](https://camo.githubusercontent.com/d3ac9adc1a869a63a15ac7a8af75d36ed3fb7810ea230177ea2299f9693e9de0/68747470733a2f2f706f7365722e707567782e6f72672f676f6f64697a65722f796969322d68656c706572732f646f776e6c6f616473)](https://packagist.org/packages/goodizer/yii2-helpers)[![Monthly Downloads](https://camo.githubusercontent.com/7b78e0e623e5007fcadfbcfa224499d95b781fb76f4572916e91d8feae161436/68747470733a2f2f706f7365722e707567782e6f72672f676f6f64697a65722f796969322d68656c706572732f642f6d6f6e74686c79)](https://packagist.org/packages/goodizer/yii2-helpers)[![Daily Downloads](https://camo.githubusercontent.com/33c988e31406896b7015a856a32f9f93ef4f4c2e10e49a801703c014ea9422cf/68747470733a2f2f706f7365722e707567782e6f72672f676f6f64697a65722f796969322d68656c706572732f642f6461696c79)](https://packagist.org/packages/goodizer/yii2-helpers)

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

[](#installation)

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

> Note: Check the [composer.json](https://github.com/goodizer/yii2-helpers/blob/master/composer.json) for this extension's requirements and dependencies.

Either run

```
$ php composer.phar require goodizer/yii2-helpers

```

or add

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

```

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

Usage
-----

[](#usage)

### GridSearchHelper

[](#gridsearchhelper)

Create ActiveDataProvider object and build query by GET|POST data validated in model, which will be in filterModel property for GridView, ListView, etc.

```
use goodizer\helpers\GridSearchHelper;
use yii\grid\GridView;

$searchData = GridSearchHelper::search(new Note());
echo GridView::widget([
	'columns' => [
		'id',
		'name',
		'etc',
	],
    'filterModel' => $searchData->filterModel,
    'dataProvider' => $searchData->dataProvider,
]);
```

### DbSyncHelper

[](#dbsynchelper)

Create or modify tables by model attribute types. Also can add CONSTRAINT REFERENCES.

```
use goodizer\helpers\DbSyncHelper;

$sync = new DbSyncHelper([
  'common\models',
  'modules\admin\models',
  'some\another\namespace',
]);
$sync->run();
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 97% 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 ~110 days

Recently: every ~160 days

Total

8

Last Release

2900d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8acb0e5c4fb9cb16befd2015f5fadfcb04f85346b60514764ada63e6031b6c0f?d=identicon)[goodizer](/maintainers/goodizer)

---

Top Contributors

[![goodizer](https://avatars.githubusercontent.com/u/18543374?v=4)](https://github.com/goodizer "goodizer (64 commits)")[![evgendeveloper7](https://avatars.githubusercontent.com/u/18484060?v=4)](https://github.com/evgendeveloper7 "evgendeveloper7 (2 commits)")

---

Tags

helperyii2extension

### Embed Badge

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

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

PHPackages © 2026

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