PHPackages                             skeeks/yii2-widget-dual-listbox - 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. skeeks/yii2-widget-dual-listbox

ActiveYii2-extension

skeeks/yii2-widget-dual-listbox
===============================

Dual Listbox Widget for Yii 2

016PHP

Since Nov 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/skeeks-semenov/yii2-widget-dual-listbox)[ Packagist](https://packagist.org/packages/skeeks/yii2-widget-dual-listbox)[ RSS](/packages/skeeks-yii2-widget-dual-listbox/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-widget-dual-listbox
========================

[](#yii2-widget-dual-listbox)

Dual Listboxt for Yii framework 2.0.

Description
-----------

[](#description)

**skeeks\\widget\\duallistbox\\WidgetDualListbox** widget is a Yii 2 wrapper for [Bootstrap Dual Listbox](https://github.com/istvan-ujjmeszaros/bootstrap-duallistbox).

Requirements
------------

[](#requirements)

- Yii Version 2.0.0 or later

Usage
-----

[](#usage)

1. Add `skeeks/yii2-widget-dual-listbox` in your project's `composer.json`, and let Composer configure your project.

    ```
    "require": {
        "php": ">=5.4.0",
        "yiisoft/yii2": "*",
        "yiisoft/yii2-bootstrap": "*",
        "yiisoft/yii2-swiftmailer": "*",
        "skeeks/yii2-widget-dual-listbox": "dev-master"
    },
    ```
2. Use `skeeks\widget\duallistbox\WidgetDualListbox::widget()` in place of `yii\helpers\Html::listBox()`, `yii\helpers\Html::activeListBox()`, or `yii\widgets\ActiveField::listBox()` in your view.

    1. Replacing **Html::listBox()** using **name and selection**

        ```
        use skeeks\widget\duallistbox\WidgetDualListbox;
        ...
