PHPackages                             tigrov/yii2-array-field - 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. tigrov/yii2-array-field

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

tigrov/yii2-array-field
=======================

ArrayField - Yii2 extension to edit array field in forms generated by ActiveForm.

1.0.2(6y ago)2951MITPHP

Since Jul 25Pushed 6y agoCompare

[ Source](https://github.com/Tigrov/yii2-array-field)[ Packagist](https://packagist.org/packages/tigrov/yii2-array-field)[ RSS](/packages/tigrov-yii2-array-field/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (4)Used By (0)

ArrayField
==========

[](#arrayfield)

The extension build a form field for array attribute of a model.

If you have array attributes in a model you can edit them using the extension.

[![drawing](array-field.gif)](array-field.gif)

[![Latest Stable Version](https://camo.githubusercontent.com/734f94a03ec033f2d8112228c6e6b43a5499527fd9213f599f8b5637669a7eba/68747470733a2f2f706f7365722e707567782e6f72672f546967726f762f796969322d61727261792d6669656c642f762f737461626c65)](https://packagist.org/packages/Tigrov/yii2-array-field)

It requires to use `Bootstrap` library.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist tigrov/yii2-array-field

```

or add

```
"tigrov/yii2-array-field": "~1.0"

```

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

Usage
-----

[](#usage)

Specify class `ArrayField` for a form field.

```

    ...

    ...

```

`$model->phones` must be an array.

---

Also it is possible to show it as input group.

```

    ...

    ...

```

The result with "input group".

[![drawing](input-group.png)](input-group.png)

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

3

Last Release

2490d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2112911?v=4)[Tigros](/maintainers/Tigros)[@tigros](https://github.com/tigros)

---

Top Contributors

[![Tigrov](https://avatars.githubusercontent.com/u/8563175?v=4)](https://github.com/Tigrov "Tigrov (6 commits)")

---

Tags

arrayfieldattribute

### Embed Badge

![Health badge](/badges/tigrov-yii2-array-field/health.svg)

```
[![Health](https://phpackages.com/badges/tigrov-yii2-array-field/health.svg)](https://phpackages.com/packages/tigrov-yii2-array-field)
```

###  Alternatives

[armincms/json

A Laravel Nova field.

25153.6k3](/packages/armincms-json)[baibaratsky/yii2-serialized-attributes-behavior

Yii2 Serialized Attributes Behavior

1175.1k9](/packages/baibaratsky-yii2-serialized-attributes-behavior)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2518.6k](/packages/iteks-laravel-enum)

PHPackages © 2026

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