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

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

ben-tech/yii2-dual-list-box
===========================

Dual list box Widget for Yii 2

1.0.0(9y ago)0532BSD-3-ClauseJavaScriptPHP &gt;=5.2

Since Aug 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ben-tech/yii2-dual-list-box)[ Packagist](https://packagist.org/packages/ben-tech/yii2-dual-list-box)[ RSS](/packages/ben-tech-yii2-dual-list-box/feed)WikiDiscussions master Synced 4w ago

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

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 BMTE License (BMTE)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/). if composer not work please upload ,you can run :

```
composer global require "fxp/composer-asset-plugin:~1.1.1"

```

if also not run please use command:

```
composer clearcache

composer selfupdate

composer update

```

Either run

```
composer require --prefer-dist ben-tech/yii2-dual-list-box "*"

```

or add

```
"ben-tech/yii2-dual-list-box": "*"

```

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 bmte\duallistbox\Widget::widget([
    'model' => $model,
    'attribute' => 'data',
    'data' => $data,
    'data_id'=> 'id',
    'data_value'=> 'text'
  ]);
```

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)

first to new a model in your controller

```
        $model = new YourModel();
```

get your data for left listbox

```
        $data = ModelQeury::find();
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3608d ago

### Community

Maintainers

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

---

Top Contributors

[![kolvin2016](https://avatars.githubusercontent.com/u/20640294?v=4)](https://github.com/kolvin2016 "kolvin2016 (29 commits)")

---

Tags

yii2widgetyii 2duallistboxdual-list-boxdual listview

### Embed Badge

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

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

###  Alternatives

[softark/yii2-dual-listbox

Bootstrap Dual Listbox Widget for Yii 2

20149.1k11](/packages/softark-yii2-dual-listbox)

PHPackages © 2026

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