PHPackages                             vision/yii\_pg\_int\_arr - 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. [Database &amp; ORM](/categories/database)
4. /
5. vision/yii\_pg\_int\_arr

ActiveYii2-extension[Database &amp; ORM](/categories/database)

vision/yii\_pg\_int\_arr
========================

Array field for AR

v2.1.2(9y ago)011MIT

Since Dec 18Compare

[ Source](https://github.com/visionp/yii_pg_int_array)[ Packagist](https://packagist.org/packages/vision/yii_pg_int_arr)[ RSS](/packages/vision-yii-pg-int-arr/feed)WikiDiscussions Synced today

READMEChangelogDependencies (1)Versions (6)Used By (0)

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

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

Выполните

```
composer require vision/yii_pg_int_arr

```

или добавьте в ваш composer.json

```
"vision/yii_pg_int_arr": "^2.1"

```

Использование
-------------

[](#использование)

Указываем в AR поля для модификации, прикрепляем поведение, а также валидатор:

```
use vision\yii_pg_int_array\PgIntegerArrayBehavior;
use vision\yii_pg_int_array\PgIntegerArrayValidator;

public function attributesIntArray()
{
    return [
    'field_name'
    ];
}

/**
 * @inheritdoc
 */
public function behaviors()
{
    return [
        PgIntegerArrayBehavior::className()
    ];
}

public function rules()
{
    return [
        ['field_name', PgIntegerArrayValidator::className()],
    ];
}

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity67

Established project with proven stability

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 ~0 days

Total

5

Last Release

3481d ago

Major Versions

v1.1 → v2.1.02016-12-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb91b5ab7a7007447b6451e7c107cac1655506808ae90474931f91905f11783f?d=identicon)[visionp](/maintainers/visionp)

---

Tags

yii2extensionarray field ARarray AR

### Embed Badge

![Health badge](/badges/vision-yii-pg-int-arr/health.svg)

```
[![Health](https://phpackages.com/badges/vision-yii-pg-int-arr/health.svg)](https://phpackages.com/packages/vision-yii-pg-int-arr)
```

###  Alternatives

[johnitvn/yii2-ajaxcrud

Gii CRUD template for Single Page Ajax Administration for yii2

97213.6k16](/packages/johnitvn-yii2-ajaxcrud)[dmstr/yii2-migrate-command

Console Migration Command with multiple paths/aliases support

31297.1k6](/packages/dmstr-yii2-migrate-command)[dmstr/yii2-db

Database extensions

19642.9k6](/packages/dmstr-yii2-db)

PHPackages © 2026

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