PHPackages                             alisherdavronov/yii2-grid-sort-column-enh - 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. alisherdavronov/yii2-grid-sort-column-enh

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

alisherdavronov/yii2-grid-sort-column-enh
=========================================

Bootstrap Grid Sort Column Enhanced Widget for Yii2 based on greshnik/yii2-grid-sort-column

01PHP

Since Jan 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/alisherdavronov/yii2-grid-sort-column-enh)[ Packagist](https://packagist.org/packages/alisherdavronov/yii2-grid-sort-column-enh)[ RSS](/packages/alisherdavronov-yii2-grid-sort-column-enh/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Bootstrap Grid Sort Column Enhanced Widget for Yii2
===================================================

[](#bootstrap-grid-sort-column-enhanced-widget-for-yii2)

based on greshnik/yii2-grid-sort-column

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

[](#installation)

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

Either run

```
composer require alisherdavronov/yii2-grid-sort-column-enh "*"

```

or add

```
"alisherdavronov/yii2-grid-sort-column-enh" : "*"
```

to the require section of your application's `composer.json` file.

Usage
-----

[](#usage)

***Example***

```

```

***Example add sort action in controller***

```
public function actions()
{
    return [
        'swap' => [
            'class' => 'app\gridSortColumnEnh\Swap',
            'model' => new Mark,
            'attribute' => 'sortAttribute',
        ]
    ];
}

```

***Example add behavior in model***

```
public function behaviors()
{
    return [
        'sort' => [
            'class' => 'app\gridSortColumnEnh\SortBehavior',
            'attribute' => 'sort',
            'parentAttribute' => 'parentId', // optional
        ]
    ];
}

```

License
-------

[](#license)

The BSD License (BSD). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/alisherdavronov-yii2-grid-sort-column-enh/health.svg)

```
[![Health](https://phpackages.com/badges/alisherdavronov-yii2-grid-sort-column-enh/health.svg)](https://phpackages.com/packages/alisherdavronov-yii2-grid-sort-column-enh)
```

###  Alternatives

[jimmiw/php-time-ago

Simple module, that displays the date in a "time ago" format

2591.1M17](/packages/jimmiw-php-time-ago)[ezsystems/symfony-tools

eZ Systems Symfony Tools

19308.2k2](/packages/ezsystems-symfony-tools)

PHPackages © 2026

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