PHPackages                             antonyz89/yii2-toggle-column - 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. antonyz89/yii2-toggle-column

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

antonyz89/yii2-toggle-column
============================

1.0.0(4y ago)01.0kBSD-3-ClausePHPPHP &gt;=7.2

Since Jan 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/AntonyZ89/yii2-toggle-column)[ Packagist](https://packagist.org/packages/antonyz89/yii2-toggle-column)[ RSS](/packages/antonyz89-yii2-toggle-column/feed)WikiDiscussions main Synced 1mo ago

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

yii2-toggle-column
==================

[](#yii2-toggle-column)

[ ![Donate with PayPal](https://camo.githubusercontent.com/648ad6f048733f167bf65e11a4fd759eef14da88db61ad078bbd5ddea5d57133/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e6174655f4c472e676966)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YATHVT293SXDL&source=url)Installation
------------

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist antonyz89/yii2-toggle-column dev-main
composer require antonyz89/yii2-toggle-column dev-main

```

or add

```
"antonyz89/yii2-toggle-column": "dev-main"

```

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

USAGE
-----

[](#usage)

⚠️ In some cases you may need to add `/toggle-column/parse/save` to your `urlManager`.

**common/config/main.php**

```
use antonyz89\togglecolumn\Module as ToggleColumnModule;
use yii\i18n\PhpMessageSource;

return [
    // ...
    'modules' => [
        'toggle-column' => [
            'class' => ToggleColumnModule::class,
        ],
    ],
    'i18n' => [
        'translations' => [
            'tc' => [ // Toggle Column
                'class' => PhpMessageSource::class,
                'basePath' => '@antonyz89/togglecolumn/messages',
            ],
        ],
    ],
    // ...
];
```

After you downloaded, the last thing you need to do is updating your database schema by applying the migration:

```
$ php yii migrate/up --migrationPath=@antonyz89/togglecolumns/migrations
```

or copy the file `migrations/m220105_225647_create_toggle_column_table.php` to your `console/migrations` directory.

**Example**
-----------

[](#example)

```

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

1584d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/68c187c364cc778fd93b1ca011536893e6fc1e9e9c1b0dfee490fb23904265ae?d=identicon)[AntonyDev](/maintainers/AntonyDev)

---

Top Contributors

[![AntonyZ89](https://avatars.githubusercontent.com/u/1340674?v=4)](https://github.com/AntonyZ89 "AntonyZ89 (8 commits)")

---

Tags

gridyii2extensionwidgettogglecolumngridviewantonyz89toggle column

### Embed Badge

![Health badge](/badges/antonyz89-yii2-toggle-column/health.svg)

```
[![Health](https://phpackages.com/badges/antonyz89-yii2-toggle-column/health.svg)](https://phpackages.com/packages/antonyz89-yii2-toggle-column)
```

###  Alternatives

[kartik-v/yii2-grid

Yii 2 GridView on steroids. Various enhancements and utilities for the Yii 2.0 GridView widget.

5576.6M178](/packages/kartik-v-yii2-grid)[himiklab/yii2-sortable-grid-view-widget

Sortable modification of standard Yii2 GridView widget

80351.1k7](/packages/himiklab-yii2-sortable-grid-view-widget)[pheme/yii2-toggle-column

Provides a toggle data column and action

27776.6k10](/packages/pheme-yii2-toggle-column)[richardfan1126/yii2-sortable-gridview

Sortable GridView for Yii2

29189.3k](/packages/richardfan1126-yii2-sortable-gridview)[mickgeek/yii2-actionbar

A control bar with bulk actions for the GridView widget.

3444.5k](/packages/mickgeek-yii2-actionbar)[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)
