PHPackages                             errohitsinghal/yii2-tom-select - 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. errohitsinghal/yii2-tom-select

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

errohitsinghal/yii2-tom-select
==============================

Tom Select widget for Yii2 Framework with Bootstrap 5 support

1.0(4mo ago)024MITPHPPHP &gt;=7.4

Since Jan 2Pushed 4mo agoCompare

[ Source](https://github.com/errohitsinghal/yii2-tom-select)[ Packagist](https://packagist.org/packages/errohitsinghal/yii2-tom-select)[ Docs](https://github.com/errohitsinghal/yii2-tom-select)[ RSS](/packages/errohitsinghal-yii2-tom-select/feed)WikiDiscussions main Synced 1mo ago

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

Yii2 Tom Select Widget
======================

[](#yii2-tom-select-widget)

[![Latest Stable Version](https://camo.githubusercontent.com/8bf6652faf88b9471d799c8cea0382b88b78d1f249ca0ffbafa4e989ae75ca1d/68747470733a2f2f706f7365722e707567782e6f72672f6572726f68697473696e6768616c2f796969322d746f6d2d73656c6563742f762f737461626c65)](https://packagist.org/packages/errohitsinghal/yii2-tom-select)[![Total Downloads](https://camo.githubusercontent.com/6402514531a2e50e70ba2093b76e1fa2f0ac50d87023ee17fec033d53ed253bd/68747470733a2f2f706f7365722e707567782e6f72672f6572726f68697473696e6768616c2f796969322d746f6d2d73656c6563742f646f776e6c6f616473)](https://packagist.org/packages/errohitsinghal/yii2-tom-select)[![License](https://camo.githubusercontent.com/8e21b99b6047250418eaf6de7e004740283281d0395b7a75224afc0019c0e9a2/68747470733a2f2f706f7365722e707567782e6f72672f6572726f68697473696e6768616c2f796969322d746f6d2d73656c6563742f6c6963656e7365)](https://packagist.org/packages/errohitsinghal/yii2-tom-select)[![Buy Me A Coffee](https://camo.githubusercontent.com/21ed208e3ebb5ac22c5aec8b397de95a2af4e4c88f7adeb89fc7354af38afda3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275792532304d6525323041253230436f666665652d737570706f72742d79656c6c6f773f6c6f676f3d6275792d6d652d612d636f66666565)](https://www.buymeacoffee.com/rohitksinghal)

A Yii2 widget for [Tom Select](https://tom-select.js.org/) - a dynamic, framework agnostic, and lightweight (~16kb gzipped) `` UI control with autocomplete and native-feeling keyboard navigation.

Features
--------

[](#features)

- ✅ Bootstrap 5 integration
- ✅ Local vendor files (no CDN dependencies)
- ✅ Full Tom Select API support
- ✅ All plugins included
- ✅ Model and non-model usage
- ✅ AJAX/Remote data loading
- ✅ Custom rendering templates
- ✅ Event handling
- ✅ Multi-select support
- ✅ Tagging/item creation
- ✅ Diacritics support

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

[](#requirements)

- PHP &gt;= 7.4
- Yii2 &gt;= 2.0.45
- yii2-bootstrap5 &gt;= 2.0.0

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

[](#installation)

Install via [Composer](https://getcomposer.org/):

```
composer require errohitsinghal/yii2-tom-select
```

Quick Start
-----------

[](#quick-start)

### Basic Select

[](#basic-select)

```
use errohitsinghal\tomselect\TomSelect;
