PHPackages                             urmaul/yii-selectcolumn - 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. urmaul/yii-selectcolumn

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

urmaul/yii-selectcolumn
=======================

SelectColumn for Yii CGridView.

v1.0.1(11y ago)029MITPHP

Since May 26Pushed 11y agoCompare

[ Source](https://github.com/urmaul/selectcolumn)[ Packagist](https://packagist.org/packages/urmaul/yii-selectcolumn)[ Docs](https://github.com/urmaul/selectcolumn)[ RSS](/packages/urmaul-yii-selectcolumn/feed)WikiDiscussions master Synced today

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

SelectColumn
============

[](#selectcolumn)

SelectColumn for Yii CGridView. It replaces cell content with label from map. And it sets that map as dropdown filter.

Installing
----------

[](#installing)

```
composer require urmaul/yii-selectcolumn dev-master

```

Using
-----

[](#using)

First, add this line to imports config:

```
'import'=>array(
	...
	'SelectColumn',
	...
),
```

### Using with enum attributes

[](#using-with-enum-attributes)

Works great with [EnumAttributes behavior](https://github.com/urmaul/enumattributes).

```
array(
	'class' => 'SelectColumn',
	'name' => 'status',
	'labels' => $model->statusEnum->valueLabels,
),
```

### Using with relations

[](#using-with-relations)

Works great with [ListData behavior](https://github.com/urmaul/listdata).

```
array(
	'class' => 'SelectColumn',
	'name' => 'category_id',
	'labels' => Category::model()->listData,
),
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity64

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

Total

2

Last Release

4191d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/22364b943477de78bf89bb19b5708a93666e38b5f1ad954ded9c656b3c116cb8?d=identicon)[urmaul](/maintainers/urmaul)

---

Tags

gridyiiselectcolumn

### Embed Badge

![Health badge](/badges/urmaul-yii-selectcolumn/health.svg)

```
[![Health](https://phpackages.com/badges/urmaul-yii-selectcolumn/health.svg)](https://phpackages.com/packages/urmaul-yii-selectcolumn)
```

###  Alternatives

[2amigos/yii2-grid-view-library

GridView Widget Extensions for Yii2.

56147.2k12](/packages/2amigos-yii2-grid-view-library)[yiister/yii2-advanced-grid

Advanced GridView extension for Yii framework 2

4712.5k](/packages/yiister-yii2-advanced-grid)

PHPackages © 2026

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