PHPackages                             naduvko/yii2-sortable-grid-view-widget - 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. naduvko/yii2-sortable-grid-view-widget

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

naduvko/yii2-sortable-grid-view-widget
======================================

Sortable modification of Kartik Yii2 GridView widget

1.1.0(7y ago)02.2k↓50%MITPHP

Since Jul 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/naduvko/yii2-sortable-grid-view-widget)[ Packagist](https://packagist.org/packages/naduvko/yii2-sortable-grid-view-widget)[ RSS](/packages/naduvko-yii2-sortable-grid-view-widget/feed)WikiDiscussions master Synced 1mo ago

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

Sortable GridView Widget for Yii2
=================================

[](#sortable-gridview-widget-for-yii2)

Sortable modification of Kartik GridView widget.

[![Total Downloads](https://camo.githubusercontent.com/8f53af6786de2656c2d3ab07bb6ed060e03bdda3d51e2fa249b430bce460589c/68747470733a2f2f706f7365722e707567782e6f72672f6e616475766b6f2f796969322d736f727461626c652d677269642d766965772d7769646765742f646f776e6c6f616473)](https://packagist.org/packages/naduvko/yii2-sortable-grid-view-widget)[![Latest Stable Version](https://camo.githubusercontent.com/5273d2d8ee3f86181d994e2d8edcbfc8d0fe6c12cb03309dc35b0692dfca00fe/68747470733a2f2f706f7365722e707567782e6f72672f6e616475766b6f2f796969322d736f727461626c652d677269642d766965772d7769646765742f762f737461626c65)](https://packagist.org/packages/naduvko/yii2-sortable-grid-view-widget)[![License](https://camo.githubusercontent.com/1b5e8a1c5062069f57dbf871cb76a7792a5d7664b4b6e67d942adda31c7346c3/68747470733a2f2f706f7365722e707567782e6f72672f6e616475766b6f2f796969322d736f727461626c652d677269642d766965772d7769646765742f6c6963656e7365)](https://packagist.org/packages/naduvko/yii2-sortable-grid-view-widget)

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

[](#installation)

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

- Either run

```
php composer.phar require --prefer-dist "naduvko/yii2-sortable-grid-view-widget" "*"

```

or add

```
"naduvko/yii2-sortable-grid-view-widget" : "*"
```

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

- Add to your database new `unsigned int` attribute, such `sortOrder`.
- Add new behavior in the AR model, for example:

```
use naduvko\sortablegrid\SortableGridBehavior;

public function behaviors()
{
    return [
        'sort' => [
            'class' => SortableGridBehavior::className(),
            'sortableAttribute' => 'sortOrder'
        ],
    ];
}
```

- Add action in the controller, for example:

```
use naduvko\sortablegrid\SortableGridAction;

public function actions()
{
    return [
        'sort' => [
            'class' => SortableGridAction::className(),
            'modelName' => Model::className(),
        ],
    ];
}
```

Usage
-----

[](#usage)

- Use SortableGridView as standard GridView with `sortableAction` option. You can also subscribe to the JS event 'sortableSuccess' generated widget after a successful sorting.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 67.3% 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 ~0 days

Total

2

Last Release

2849d ago

### Community

Maintainers

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

---

Top Contributors

[![himiklab](https://avatars.githubusercontent.com/u/6266409?v=4)](https://github.com/himiklab "himiklab (33 commits)")[![naduvko](https://avatars.githubusercontent.com/u/615788?v=4)](https://github.com/naduvko "naduvko (6 commits)")[![arstar](https://avatars.githubusercontent.com/u/2492098?v=4)](https://github.com/arstar "arstar (4 commits)")[![lav45](https://avatars.githubusercontent.com/u/675367?v=4)](https://github.com/lav45 "lav45 (2 commits)")[![Evgen1986](https://avatars.githubusercontent.com/u/10276586?v=4)](https://github.com/Evgen1986 "Evgen1986 (1 commits)")[![egml](https://avatars.githubusercontent.com/u/2691888?v=4)](https://github.com/egml "egml (1 commits)")[![nick-denry](https://avatars.githubusercontent.com/u/1450983?v=4)](https://github.com/nick-denry "nick-denry (1 commits)")[![randycoder](https://avatars.githubusercontent.com/u/7973684?v=4)](https://github.com/randycoder "randycoder (1 commits)")

---

Tags

gridsortableyii2widgetgridview

### Embed Badge

![Health badge](/badges/naduvko-yii2-sortable-grid-view-widget/health.svg)

```
[![Health](https://phpackages.com/badges/naduvko-yii2-sortable-grid-view-widget/health.svg)](https://phpackages.com/packages/naduvko-yii2-sortable-grid-view-widget)
```

###  Alternatives

[himiklab/yii2-sortable-grid-view-widget

Sortable modification of standard Yii2 GridView widget

80351.1k7](/packages/himiklab-yii2-sortable-grid-view-widget)[kotchuprik/yii2-sortable-widgets

Implementation Rubaxa/Sortable for Yii2. Sortable grid view inside.

61132.2k6](/packages/kotchuprik-yii2-sortable-widgets)[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)[sjaakp/yii2-alphapager

Page data on initial character in Yii2.

184.4k](/packages/sjaakp-yii2-alphapager)

PHPackages © 2026

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