PHPackages                             branchonline/yii2-selectize-widget - 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. branchonline/yii2-selectize-widget

ActiveYii2-extension

branchonline/yii2-selectize-widget
==================================

The selectize.js widget for the Yii framework

1.0.4(10y ago)05.3k↓100%BSD-3-ClausePHP

Since Apr 3Pushed 10y ago12 watchersCompare

[ Source](https://github.com/BranchOnline/yii2-selectize-widget)[ Packagist](https://packagist.org/packages/branchonline/yii2-selectize-widget)[ Docs](https://github.com/2amigos/yii2-selectize-widget)[ RSS](/packages/branchonline-yii2-selectize-widget/feed)WikiDiscussions master Synced today

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

Selectize JS Widget for Yii2
============================

[](#selectize-js-widget-for-yii2)

[![Latest Version](https://camo.githubusercontent.com/c6ce788d728634226781417eeac6cdba7c74e1637892fd82d280dc256ac08dd3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f32616d69676f732f796969322d73656c656374697a652d7769646765742e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://github.com/2amigos/yii2-selectize-widget/tags)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/ca29f9e05781ecd164ab0fd92d5533075dd7f6204c2238c7e6771f599d2c38db/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f32616d69676f732f796969322d73656c656374697a652d7769646765742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/2amigos/yii2-selectize-widget)[![Coverage Status](https://camo.githubusercontent.com/35c9b0a723de72057c931c0e6f2b50e90f61bb74eec8012e8682a393145d5615/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f32616d69676f732f796969322d73656c656374697a652d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/2amigos/yii2-selectize-widget/code-structure)[![Quality Score](https://camo.githubusercontent.com/00a4e7f4e54c969aa62762aed21b3b012062796ac6151c29d6a5e0c9f85a64c7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f32616d69676f732f796969322d73656c656374697a652d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/2amigos/yii2-selectize-widget)[![Total Downloads](https://camo.githubusercontent.com/787f279245d73f4f0764f6eb46a4bf51c8e0e5bd14f9bbfad237bca706497b3c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f32616d69676f732f796969322d73656c656374697a652d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/2amigos/yii2-selectize-widget)

[Selectize](http://brianreavis.github.io/selectize.js/) is an extensible jQuery-based custom &lt;select&gt; UI control. It's useful for tagging, contact lists, country selectors, and so on. It clocks in at around ~7kb (gzipped). The goal is to provide a solid &amp; usable experience with a clean and powerful API.

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

[](#installation)

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

Either run

```
$ composer require branchonline/yii2-selectize-widget:~1.0
```

or add

```
"branchonline/yii2-selectize-widget": "~1.0"

```

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

Usage
-----

[](#usage)

Selectize has lots of configuration options. For further information, please check the Selectize plugin [website](http://brianreavis.github.io/selectize.js/).

### Text input widget

[](#text-input-widget)

To use text input widget add the following to the view

```
use dosamigos\selectize\SelectizeTextInput;

echo SelectizeTextInput::widget([
    'name' => 'tags',
    'value' => 'love, this, game',
    'clientOptions' => [
        // ...
    ],
]);
```

### Dropdown list widget

[](#dropdown-list-widget)

To use dropdown list widget add the following to the view

```
use dosamigos\selectize\SelectizeDropDownList;

echo SelectizeDropDownList::widget([
    'name' => 'tags',
    'value' => ['love', 'this', 'game'],
    'clientOptions' => [
        // ...
    ],
]);
```

Testing
-------

[](#testing)

```
$ ./vendor/bin/phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Antonio Ramirez](https://github.com/tonydspaniard)
- [Alexander Kochetov](https://github.com/creocoder)
- [All Contributors](https://github.com/2amigos/yii2-selectize-widget/graphs/contributors)

License
-------

[](#license)

The BSD License (BSD). Please see [License File](LICENSE.md) for more information.

> [![](https://camo.githubusercontent.com/9fd8f1de41dc23003bb2a54034cb6658dde5be97092e195a62d629d0d7fa7f6c/687474703a2f2f7777772e67726176617461722e636f6d2f6176617461722f35353336333339346437323934356666376564333132353536656330343165302e706e67)](http://www.2amigos.us)
>  *web development has never been so fun*
>  [www.2amigos.us](http://www.2amigos.us)

###  Health Score

33

—

LowBetter than 76% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 92.5% 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

Every ~95 days

Recently: every ~56 days

Total

7

Last Release

3799d ago

Major Versions

0.1.1 → 1.0.02015-03-19

### Community

Maintainers

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

---

Top Contributors

[![creocoder](https://avatars.githubusercontent.com/u/896494?v=4)](https://github.com/creocoder "creocoder (49 commits)")[![zelardiel](https://avatars.githubusercontent.com/u/3799399?v=4)](https://github.com/zelardiel "zelardiel (4 commits)")

---

Tags

yii2widgetyiiyii 22amigosselectize

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/branchonline-yii2-selectize-widget/health.svg)

```
[![Health](https://phpackages.com/badges/branchonline-yii2-selectize-widget/health.svg)](https://phpackages.com/packages/branchonline-yii2-selectize-widget)
```

PHPackages © 2026

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