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

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

orchidjs/tom-select
===================

Tom Select is a dynamic, framework agnostic, and lightweight (~16kb gzipped) &lt;select&gt; UI control. With autocomplete and native-feeling keyboard navigation, it's useful for tagging, contact lists, country selectors, and so on.

2.5.2(2mo ago)2.1k1.6k↓45.7%158[23 issues](https://github.com/orchidjs/tom-select/issues)[20 PRs](https://github.com/orchidjs/tom-select/pulls)Apache-2.0JavaScriptCI failing

Since Feb 23Pushed 1mo ago19 watchersCompare

[ Source](https://github.com/orchidjs/tom-select)[ Packagist](https://packagist.org/packages/orchidjs/tom-select)[ Docs](https://tom-select.js.org/)[ Fund](https://opencollective.com/tom-select)[ RSS](/packages/orchidjs-tom-select/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (67)Used By (0)

Tom Select
==========

[](#tom-select)

[![GitHub Repo stars](https://camo.githubusercontent.com/9bd5610d6cc319dc77bcc70cc1352fcac3a6616ea51b93cb804094d26ec66d89/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6f72636869646a732f746f6d2d73656c6563743f6c6162656c3d476974487562253230737461727326636f6c6f723d303037656336)](https://github.com/orchidjs/tom-select)[![jsDelivr hits (npm)](https://camo.githubusercontent.com/846406c94161014d3fb85350968aed014803e9d8222548b35bb41f892f03e943/68747470733a2f2f696d672e736869656c64732e696f2f6a7364656c6976722f6e706d2f686d2f746f6d2d73656c6563743f6c6162656c3d6a7344656c6976722532306869747326636f6c6f723d303037656336)](https://www.jsdelivr.com/package/npm/tom-select)[![npmjs.org](https://camo.githubusercontent.com/7b05a40c966db0025c690d38758c9c481e11b561b9535f6c72977d6c1939fbca/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f746f6d2d73656c6563742e7376673f636f6c6f723d303037656336)](https://www.npmjs.com/package/tom-select)[![tests](https://github.com/orchidjs/tom-select/actions/workflows/tests.yml/badge.svg)](https://github.com/orchidjs/tom-select/actions/workflows/tests.yml)[![Coveralls Coverage](https://camo.githubusercontent.com/10c2f69dc72016157af608a97aa0c65dc3368905d6bf6046a05c68f85a247a56/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f6f72636869646a732f746f6d2d73656c6563743f636f6c6f723d346331)](https://coveralls.io/github/orchidjs/tom-select)[![GitHub Issues](https://camo.githubusercontent.com/850a45ffc5fd39458efe8c66d3bd90df734e0d11d49d72f7e33ba89bad6355f4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6f72636869646a732f746f6d2d73656c656374)](https://github.com/orchidjs/tom-select/issues)

Tom Select is a dynamic, framework agnostic, and lightweight (~16kb gzipped) &lt;select&gt; UI control. With autocomplete and native-feeling keyboard navigation, it's useful for tagging, contact lists, country selectors, and so on. Tom Select was forked from [selectize.js](https://tom-select.js.org/docs/selectize.js/) with the goal of modernizing the code base, decoupling from jQuery, and expanding functionality.

### Features

[](#features)

- **Smart Option Searching / Ranking**
    Options are efficiently scored and sorted on-the-fly (using [sifter](https://github.com/orchidjs/sifter.js)). Want to search an item's title *and* description? No problem.
- **Caret between items**
    Order matters sometimes. With the [Caret Position Plugin](https://tom-select.js.org/plugins/caret-position), you can use the ← and → arrow keys to move between selected items
- **Select &amp; delete multiple items at once**
    Hold down command on Mac or ctrl on Windows to select more than one item to delete.
- **Díåcritîçs supported**
    Great for international environments.
- **Item creation**
    Allow users to create items on the fly (async saving is supported; the control locks until the callback is fired).
- **Remote data loading**
    For when you have thousands of options and want them provided by the server as the user types.
- **Extensible**
     [Plugin API](https://tom-select.js.org/docs/plugins/) for developing custom features (uses [microplugin](https://github.com/brianreavis/microplugin.js)).
- **Accessible**, **Touch Support**, **Clean API**, ...

Usage
-----

[](#usage)

```

var config = {};
new TomSelect('#tom-select-it',config);

```

Available configuration settings are [documented here](https://tom-select.js.org/docs)

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

[](#installation)

All pre-built files needed to use Tom Select can be found in the "dist" folder via any of these sources:

  Source    [jsDelivr](https://www.jsdelivr.com/package/npm/tom-select?path=dist)  The fastest way to add Tom Select into your project is to just include the js and css from jsDelivr. ```

```

    [npm](https://www.npmjs.com/package/tom-select) ```
npm i tom-select
```

[Additional CLI usage](https://tom-select.js.org/docs/contribute/)

    [GitHub](https://github.com/orchidjs/tom-select/) Clone or [download](https://github.com/orchidjs/tom-select/archive/master.zip) the full repo. Use `npm run build` [and other commands](/docs/contribute) to build from source, test and start the doc server.  Files
-----

[](#files)

- [tom-select.complete.js](https://cdn.jsdelivr.net/npm/tom-select/dist/js/tom-select.complete.js) — Includes dependencies and plugins
- [tom-select.base.js](https://cdn.jsdelivr.net/npm/tom-select/dist/js/tom-select.base.js) — Does not include any plugins
- [CSS](https://www.jsdelivr.com/package/npm/tom-select?path=dist%2Fcss) — Compiled themes
- [SCSS](https://www.jsdelivr.com/package/npm/tom-select?path=dist%2Fscss) — Uncompiled theme sources

Sponsors
--------

[](#sponsors)

Many thanks to all our sponsors who help make development possible. [Become a sponsor](https://opencollective.com/tom-select).

[![Trust My Paper Logo](https://camo.githubusercontent.com/e06270c68c2e8d0a7eee291da9d3c11b673d8299beee134e9d352758ffa5fbb3/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f746f6d2d73656c6563742f73706f6e736f722f302f6176617461722e737667)](https://opencollective.com/tom-select/sponsor/0/website)[![WiseEssays.com](https://camo.githubusercontent.com/a020c25c54fd2f52466c0ac953407406791b46bda51dd8b0967ba82fe82037e6/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f746f6d2d73656c6563742f73706f6e736f722f322f6176617461722e737667)](https://opencollective.com/tom-select/sponsor/2/website)

License
-------

[](#license)

Copyright © 2013–2023 [Contributors](https://github.com/orchidjs/tom-select/graphs/contributors)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance86

Actively maintained with recent releases

Popularity48

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 64.6% 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 ~35 days

Recently: every ~5 days

Total

52

Last Release

84d ago

Major Versions

v1.7.6 → v2.0.0-Beta.12021-07-15

v1.7.7 → v2.0.0-Beta.22021-08-01

v1.7.8 → v2.0.0-Beta.32021-08-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ad9643aab5a45ec10bb2ffefe90d4fd98caa995b3e36de8b35b37a8990c798a?d=identicon)[oyejorge](/maintainers/oyejorge)

---

Top Contributors

[![oyejorge](https://avatars.githubusercontent.com/u/1043524?v=4)](https://github.com/oyejorge "oyejorge (1320 commits)")[![brianreavis](https://avatars.githubusercontent.com/u/118480?v=4)](https://github.com/brianreavis "brianreavis (451 commits)")[![joallard](https://avatars.githubusercontent.com/u/949482?v=4)](https://github.com/joallard "joallard (75 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (51 commits)")[![sjhewitt](https://avatars.githubusercontent.com/u/207410?v=4)](https://github.com/sjhewitt "sjhewitt (18 commits)")[![NicolasCARPi](https://avatars.githubusercontent.com/u/3043706?v=4)](https://github.com/NicolasCARPi "NicolasCARPi (17 commits)")[![MatthewKennedy](https://avatars.githubusercontent.com/u/1240766?v=4)](https://github.com/MatthewKennedy "MatthewKennedy (16 commits)")[![nwalters512](https://avatars.githubusercontent.com/u/1476544?v=4)](https://github.com/nwalters512 "nwalters512 (14 commits)")[![xJuvi](https://avatars.githubusercontent.com/u/31671206?v=4)](https://github.com/xJuvi "xJuvi (12 commits)")[![jhash](https://avatars.githubusercontent.com/u/1508098?v=4)](https://github.com/jhash "jhash (10 commits)")[![Scottmitch](https://avatars.githubusercontent.com/u/7562868?v=4)](https://github.com/Scottmitch "Scottmitch (9 commits)")[![parsonsmatt](https://avatars.githubusercontent.com/u/7310112?v=4)](https://github.com/parsonsmatt "parsonsmatt (4 commits)")[![zeitiger](https://avatars.githubusercontent.com/u/656302?v=4)](https://github.com/zeitiger "zeitiger (3 commits)")[![osaton](https://avatars.githubusercontent.com/u/2977916?v=4)](https://github.com/osaton "osaton (3 commits)")[![micahjon](https://avatars.githubusercontent.com/u/9473554?v=4)](https://github.com/micahjon "micahjon (3 commits)")[![roblevintennis](https://avatars.githubusercontent.com/u/142403?v=4)](https://github.com/roblevintennis "roblevintennis (3 commits)")[![ryanb](https://avatars.githubusercontent.com/u/161?v=4)](https://github.com/ryanb "ryanb (3 commits)")[![graingert](https://avatars.githubusercontent.com/u/413772?v=4)](https://github.com/graingert "graingert (3 commits)")[![Seb33300](https://avatars.githubusercontent.com/u/915273?v=4)](https://github.com/Seb33300 "Seb33300 (3 commits)")[![topaxi](https://avatars.githubusercontent.com/u/213788?v=4)](https://github.com/topaxi "topaxi (3 commits)")

---

Tags

choicechoicesdropdowninputjavascriptselectselect-multipleselect2selectboxtypescriptvanilla-javascriptvanilla-js

### Embed Badge

![Health badge](/badges/orchidjs-tom-select/health.svg)

```
[![Health](https://phpackages.com/badges/orchidjs-tom-select/health.svg)](https://phpackages.com/packages/orchidjs-tom-select)
```

###  Alternatives

[caxy/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

21320.9M15](/packages/caxy-php-htmldiff)[leocarmo/graceful-shutdown-php

Graceful Shutdown for PHP

18108.2k](/packages/leocarmo-graceful-shutdown-php)

PHPackages © 2026

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