PHPackages                             coderovich/yii2-sortablejs - 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. coderovich/yii2-sortablejs

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

coderovich/yii2-sortablejs
==========================

Yii2 implementation of the SortableJS/Sortable extension. To create reorderable drag-and-drop lists for modern browsers and touch devices.

1.1(7y ago)0254BSD-3-ClausePHP

Since Oct 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/coderovich/yii2-sortableJS)[ Packagist](https://packagist.org/packages/coderovich/yii2-sortablejs)[ RSS](/packages/coderovich-yii2-sortablejs/feed)WikiDiscussions master Synced 6d ago

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

SortableJS for Yii 2
====================

[](#sortablejs-for-yii-2)

This is an [Yii framework 2.0](http://www.yiiframework.com) to create reorderable drag-and-drop lists for modern browsers and touch devices.

**Forked from **

**Fixed**:

- Client events
- SortableJS Plugin call

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

[](#installation)

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

Either run

```
php composer.phar require coderovich/yii2-sortablejs

```

or add

```
"coderovich/yii2-sortablejs": "~1.0.0"

```

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

Usage
-----

[](#usage)

```
use coderovich\sortablejs\Sortable;

echo Sortable::widget([
    'items' => [
        'Item 1',
        ['content' => 'Item2'],
        [
            'content' => 'Item3',
            'options' => ['class' => 'text-danger'],
        ],
    ],
    'containerOptions' => ['class' => 'list-group'],
    'itemOptions' => ['class' => 'list-group-item'],
    'clientOptions' => ['animation' => 0],
]);
```

Documentation
-------------

[](#documentation)

\[Documentation\] at .

License
-------

[](#license)

**coderovich/yii2-sortableJS** is released under the BSD 3-Clause License. See the [LICENSE.md](LICENSE.md) for details.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

2667d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f9e2e7e6d1a0a0ffdbb65792de37c2cf3b852c983657fae1a144069a91c7b7e?d=identicon)[coderovich](/maintainers/coderovich)

---

Top Contributors

[![cmoeke](https://avatars.githubusercontent.com/u/1618434?v=4)](https://github.com/cmoeke "cmoeke (1 commits)")

---

Tags

sortableyii2sortable.js

### Embed Badge

![Health badge](/badges/coderovich-yii2-sortablejs/health.svg)

```
[![Health](https://phpackages.com/badges/coderovich-yii2-sortablejs/health.svg)](https://phpackages.com/packages/coderovich-yii2-sortablejs)
```

###  Alternatives

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

Sortable modification of standard Yii2 GridView widget

80351.1k7](/packages/himiklab-yii2-sortable-grid-view-widget)[kartik-v/yii2-sortable

Create sortable lists and grids using HTML5 drag and drop API for Yii 2.0.

433.8M13](/packages/kartik-v-yii2-sortable)[kotchuprik/yii2-sortable-widgets

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

61132.2k6](/packages/kotchuprik-yii2-sortable-widgets)[paulzi/yii2-sortable

Sortable Behavior for Yii2

15310.5k4](/packages/paulzi-yii2-sortable)[kartik-v/yii2-sortable-input

Sortable input widget based on yii2-sortable extension.

24660.4k2](/packages/kartik-v-yii2-sortable-input)

PHPackages © 2026

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