PHPackages                             maksyutin/yii2-dual-list-box - 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. maksyutin/yii2-dual-list-box

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

maksyutin/yii2-dual-list-box
============================

Dual list box Widget for Yii 2

138.8k14[3 issues](https://github.com/maksyutin/yii2-dual-list-box/issues)[3 PRs](https://github.com/maksyutin/yii2-dual-list-box/pulls)1JavaScript

Since Aug 22Pushed 8y ago4 watchersCompare

[ Source](https://github.com/maksyutin/yii2-dual-list-box)[ Packagist](https://packagist.org/packages/maksyutin/yii2-dual-list-box)[ RSS](/packages/maksyutin-yii2-dual-list-box/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

Dual list box Widget for Yii 2
==============================

[](#dual-list-box-widget-for-yii-2)

`Dual list box Widget` is a wrapper for [Dual List Box plugin for jQuery and Bootstrap](https://github.com/Geodan/DualListBox), Bootstrap Dual List Box is a dual list box implementation especially designed for Bootstrap and jQuery. This control is quite easy for users to understand and use. Also it is possible to work with very large multi-selects without confusing the user.

The MIT License (MIT)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist maksyutin/yii2-dual-list-box "dev-master"

```

or add

```
"maksyutin/yii2-dual-list-box": "dev-master"

```

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

Usage
-----

[](#usage)

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

EXAMPLE
-------

[](#example)

### View

[](#view)

```
echo maksyutin\duallistbox\Widget::widget([
    'model' => $model,
    'attribute' => 'list_regions',
    'title' => 'города',
    'data' => $region,
    'data_id'=> 'id',
    'data_value'=> 'name',
    'lngOptions' => [
        'warning_info' => 'Вы уверены, что хотите выбрать такое количество элементов?
                           Возможно Ваш браузер может перестанет отвечать на запросы..',
        'search_placeholder' => 'Фильтр',
        'showing' => ' - показано',
        'available' => 'Имеющиеся',
        'selected' => 'Выбранные'
    ]
  ]);
```

model - model for form attribute - model attribute for form title - view name for attribute

data - model (Region::find()); data\_id - name attribute for id data\_value - name attribute for value

### Controller VIEW

[](#controller-view)

```
        $model = new ModelForm;

        $region = Region::find();
```

### Controller SAVE

[](#controller-save)

```
$model = new ModelForm;
$model->load(Yii::$app->request->post());
$region_model = Json::decode($model->list_regions);
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75.7% 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://www.gravatar.com/avatar/25fb34306d2fe14656bd282370824f5514fdda067b86f0cf20c2007ec721079a?d=identicon)[maksyutin](/maintainers/maksyutin)

---

Top Contributors

[![maksyutin](https://avatars.githubusercontent.com/u/1647071?v=4)](https://github.com/maksyutin "maksyutin (28 commits)")[![drsdre](https://avatars.githubusercontent.com/u/809827?v=4)](https://github.com/drsdre "drsdre (8 commits)")[![ibrarturi](https://avatars.githubusercontent.com/u/3693201?v=4)](https://github.com/ibrarturi "ibrarturi (1 commits)")

### Embed Badge

![Health badge](/badges/maksyutin-yii2-dual-list-box/health.svg)

```
[![Health](https://phpackages.com/badges/maksyutin-yii2-dual-list-box/health.svg)](https://phpackages.com/packages/maksyutin-yii2-dual-list-box)
```

###  Alternatives

[werd/ivona-speechcloud-sdk-php

IVONA SpeechCloud SDK for PHP

102.1k](/packages/werd-ivona-speechcloud-sdk-php)

PHPackages © 2026

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