PHPackages                             kak/select2 - 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. kak/select2

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kak/select2
===========

select2 widgets for Yii2

1.0.1(3y ago)43.8k[2 PRs](https://github.com/sanchezzzhak/kak-select2/pulls)1MITCSSCI failing

Since Aug 5Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/sanchezzzhak/kak-select2)[ Packagist](https://packagist.org/packages/kak/select2)[ RSS](/packages/kak-select2/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (7)Versions (10)Used By (1)

Select2 widgets
===============

[](#select2-widgets)

Select2 widgets for Yii2

Preview
-------

[](#preview)

[![](https://camo.githubusercontent.com/835d03672615fc8aa6ef29665d02d9bbc7a2f95c265fc9d5e293d993198b73d5/68747470733a2f2f6c68332e676f6f676c6575736572636f6e74656e742e636f6d2f2d535974794b7866765a7a342f5662437745507a767845492f41414141414141414143342f4f723563314f624b37454d2f733333392d496334322f73656c65637432507265766965772e706e67)](https://camo.githubusercontent.com/835d03672615fc8aa6ef29665d02d9bbc7a2f95c265fc9d5e293d993198b73d5/68747470733a2f2f6c68332e676f6f676c6575736572636f6e74656e742e636f6d2f2d535974794b7866765a7a342f5662437745507a767845492f41414141414141414143342f4f723563314f624b37454d2f733333392d496334322f73656c65637432507265766965772e706e67)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist kak/select2 "dev-master"

```

or add

```
"kak/select2": "dev-master"

```

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

Usage
-----

[](#usage)

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

```
