PHPackages                             stansoftbg/yii2-nested-sortable - 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. stansoftbg/yii2-nested-sortable

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

stansoftbg/yii2-nested-sortable
===============================

\*\*nestedSortable\*\* is a jQuery plugin that extends jQuery Sortable UI functionalities to nested lists.

v1.0.1(9y ago)01022GPL-3.0+JavaScript

Since Mar 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/StanSoftBG/yii2-nested-sortable)[ Packagist](https://packagist.org/packages/stansoftbg/yii2-nested-sortable)[ RSS](/packages/stansoftbg-yii2-nested-sortable/feed)WikiDiscussions master Synced today

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

nestedSortable Yii2 jQuery plugin
=================================

[](#nestedsortable-yii2-jquery-plugin)

**nestedSortable** is a jQuery plugin that extends jQuery Sortable UI functionalities to nested lists.
Forked from

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist stansoftbg/yii2-nested-sortable "*"

```

or add

```
"stansoftbg/yii2-nested-sortable": "*"

```

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

Features
--------

[](#features)

- Designed to work seamlessly with the [nested](http://articles.sitepoint.com/article/hierarchical-data-database "A Sitepoint tutorial on PHP, MYSQL and nested sets") [set](http://en.wikipedia.org/wiki/Nested_set_model "Wikipedia article on nested sets") model (have a look at the `toArray` method)
- Items can be sorted in their own list, moved across the tree, or nested under other items.
- Sublists are created and deleted on the fly
- All jQuery Sortable options, events and methods are available
- It is possible to define elements that will not accept a new nested item/list and a maximum depth for nested items
- The root level can be protected
- The parentship of items can be locked, just as if it was a family tree.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
```
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community5

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

Total

2

Last Release

3561d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2014fb9799a16a8f980d39b66f4da2a64889a432497c80d63f306b22b4d07cc5?d=identicon)[stratoss](/maintainers/stratoss)

---

Tags

nestedjquerysortablemenuyii2extension

### Embed Badge

![Health badge](/badges/stansoftbg-yii2-nested-sortable/health.svg)

```
[![Health](https://phpackages.com/badges/stansoftbg-yii2-nested-sortable/health.svg)](https://phpackages.com/packages/stansoftbg-yii2-nested-sortable)
```

###  Alternatives

[kartik-v/yii2-sortable

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

434.0M13](/packages/kartik-v-yii2-sortable)[kartik-v/yii2-widget-sidenav

An enhanced side navigation menu styled for bootstrap (sub repo split from yii2-widgets)

364.1M8](/packages/kartik-v-yii2-widget-sidenav)[kartik-v/yii2-sortable-input

Sortable input widget based on yii2-sortable extension.

23683.8k2](/packages/kartik-v-yii2-sortable-input)[fedemotta/yii2-widget-datatables

DataTables widget for Yii2

34182.9k1](/packages/fedemotta-yii2-widget-datatables)[gilek/yii2-gtreetable

yii2-gtreetable is an extension of Yii 2 Framework, which is wrapper for bootstrap-gtreetable plug-in, on the other hand it provides functionality which allows to save the nodes states into database.

4111.9k](/packages/gilek-yii2-gtreetable)[slatiusa/yii2-nestable

Yii 2.0 implementation of nested set behavior using jquery.nestable plugin.

1718.5k2](/packages/slatiusa-yii2-nestable)

PHPackages © 2026

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