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

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

intelogie/select2
=================

Select2 is a jQuery based replacement for select boxes.

4.0.3(10y ago)0178MITJavaScript

Since Mar 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/INTELOGIE/select2)[ Packagist](https://packagist.org/packages/intelogie/select2)[ Docs](https://select2.github.io/)[ RSS](/packages/intelogie-select2/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (21)Used By (0)

Select2
=======

[](#select2)

[![Build Status](https://camo.githubusercontent.com/5bfa59d34bd34bfa25f55235fa80829c082fb1585d5d705f8b2f9b8ed45202be/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f73656c656374322f73656c656374322f6d61737465722e737667)](https://travis-ci.org/select2/select2)

Select2 is a jQuery-based replacement for select boxes. It supports searching, remote data sets, and pagination of results.

To get started, checkout examples and documentation at

Use cases
---------

[](#use-cases)

- Enhancing native selects with search.
- Enhancing native selects with a better multi-select interface.
- Loading data from JavaScript: easily load items via AJAX and have them searchable.
- Nesting optgroups: native selects only support one level of nesting. Select2 does not have this restriction.
- Tagging: ability to add new items on the fly.
- Working with large, remote datasets: ability to partially load a dataset based on the search term.
- Paging of large datasets: easy support for loading more pages when the results are scrolled to the end.
- Templating: support for custom rendering of results and selections.

Browser compatibility
---------------------

[](#browser-compatibility)

- IE 8+
- Chrome 8+
- Firefox 10+
- Safari 3+
- Opera 10.6+

Select2 is automatically tested on the following browsers.

[![Sauce Labs Test Status](https://camo.githubusercontent.com/174066a7a18428e8da2d4ce8ccf2d3de3348e96348f90b1b8d3cbf826b9df3d2/68747470733a2f2f73617563656c6162732e636f6d2f62726f777365722d6d61747269782f73656c656374322e737667)](https://saucelabs.com/u/select2)

Usage
-----

[](#usage)

You can source Select2 directly from a CDN like [JSDliver](http://www.jsdelivr.com/#!select2) or [CDNJS](http://www.cdnjs.com/libraries/select2), [download it from this GitHub repo](https://github.com/select2/select2/releases), or use one of the integrations below.

Integrations
------------

[](#integrations)

Third party developers have create plugins for platforms which allow Select2 to be integrated more natively and quickly. For many platforms, additional plugins are not required because Select2 acts as a standard `` box.

Plugins

- [Django](https://www.djangoproject.com/)
    - [django-easy-select2](https://github.com/asyncee/django-easy-select2)
    - [django-select2](https://github.com/applegrew/django-select2)
- [Meteor](https://www.meteor.com/) - [meteor-select2](https://github.com/nate-strauser/meteor-select2)
- [Ruby on Rails](http://rubyonrails.org/) - [select2-rails](https://github.com/argerim/select2-rails)
- [Wicket](https://wicket.apache.org/) - [wicketstuff-select2](https://github.com/wicketstuff/core/tree/master/select2-parent)
- [Yii 2](http://www.yiiframework.com/) - [yii2-widget-select2](https://github.com/kartik-v/yii2-widget-select2)

Themes

- [Bootstrap 3](https://getbootstrap.com/) - [select2-bootstrap-theme](https://github.com/select2/select2-bootstrap-theme)
- [Flat UI](http://designmodo.github.io/Flat-UI/) - [select2-flat-theme](https://github.com/techhysahil/select2-Flat_Theme)
- [Metro UI](http://metroui.org.ua/) - [select2-metro](http://metroui.org.ua/select2.html)

Missing an integration? Modify this `README` and make a pull request back here to Select2 on GitHub.

Internationalization (i18n)
---------------------------

[](#internationalization-i18n)

Select2 supports multiple languages by simply including the right language JS file (`dist/js/i18n/it.js`, `dist/js/i18n/nl.js`, etc.) after `dist/js/select2.js`.

Missing a language? Just copy `src/js/select2/i18n/en.js`, translate it, and make a pull request back to Select2 here on GitHub.

Documentation
-------------

[](#documentation)

The documentation for Select2 is available [through GitHub Pages](https://select2.github.io/) and is located within this repository in the [`docs` folder](https://github.com/select2/select2/tree/master/docs).

Community
---------

[](#community)

You can find out about the different ways to get in touch with the Select2 community at the [Select2 community page](https://select2.github.io/community.html).

Copyright and license
---------------------

[](#copyright-and-license)

The license is available within the repository in the [LICENSE](LICENSE.md) file.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~44 days

Recently: every ~49 days

Total

19

Last Release

3687d ago

Major Versions

3.5.2 → 4.0.0-beta.12015-01-08

3.5.4 → 4.0.1-rc.12015-11-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cd960536c07e255b2e6f7e55c03c6d09274b215ccceaccc38926ffe03e098a7?d=identicon)[bgauthier](/maintainers/bgauthier)

---

Top Contributors

[![ivaynberg](https://avatars.githubusercontent.com/u/150030?v=4)](https://github.com/ivaynberg "ivaynberg (706 commits)")[![kevin-brown](https://avatars.githubusercontent.com/u/1991850?v=4)](https://github.com/kevin-brown "kevin-brown (664 commits)")[![justindujardin](https://avatars.githubusercontent.com/u/101493?v=4)](https://github.com/justindujardin "justindujardin (14 commits)")[![merkuriy](https://avatars.githubusercontent.com/u/575792?v=4)](https://github.com/merkuriy "merkuriy (14 commits)")[![creage](https://avatars.githubusercontent.com/u/910967?v=4)](https://github.com/creage "creage (11 commits)")[![mkurz](https://avatars.githubusercontent.com/u/644927?v=4)](https://github.com/mkurz "mkurz (8 commits)")[![stretch4x4](https://avatars.githubusercontent.com/u/12271094?v=4)](https://github.com/stretch4x4 "stretch4x4 (7 commits)")[![jdecuyper](https://avatars.githubusercontent.com/u/369777?v=4)](https://github.com/jdecuyper "jdecuyper (7 commits)")[![kows](https://avatars.githubusercontent.com/u/7290402?v=4)](https://github.com/kows "kows (6 commits)")[![boyaq](https://avatars.githubusercontent.com/u/641537?v=4)](https://github.com/boyaq "boyaq (4 commits)")[![chroder](https://avatars.githubusercontent.com/u/145357?v=4)](https://github.com/chroder "chroder (4 commits)")[![gsmet](https://avatars.githubusercontent.com/u/1279749?v=4)](https://github.com/gsmet "gsmet (4 commits)")[![mander77](https://avatars.githubusercontent.com/u/220622142?v=4)](https://github.com/mander77 "mander77 (4 commits)")[![od3n](https://avatars.githubusercontent.com/u/156899?v=4)](https://github.com/od3n "od3n (4 commits)")[![realityking](https://avatars.githubusercontent.com/u/628508?v=4)](https://github.com/realityking "realityking (4 commits)")[![vitalets](https://avatars.githubusercontent.com/u/1473072?v=4)](https://github.com/vitalets "vitalets (4 commits)")[![wyuenho](https://avatars.githubusercontent.com/u/160028?v=4)](https://github.com/wyuenho "wyuenho (4 commits)")[![ycdtosa](https://avatars.githubusercontent.com/u/672665?v=4)](https://github.com/ycdtosa "ycdtosa (3 commits)")[![pier-oliviert](https://avatars.githubusercontent.com/u/23230?v=4)](https://github.com/pier-oliviert "pier-oliviert (3 commits)")[![Waldz](https://avatars.githubusercontent.com/u/2713911?v=4)](https://github.com/Waldz "Waldz (3 commits)")

### Embed Badge

![Health badge](/badges/intelogie-select2/health.svg)

```
[![Health](https://phpackages.com/badges/intelogie-select2/health.svg)](https://phpackages.com/packages/intelogie-select2)
```

###  Alternatives

[fullcalendar/fullcalendar

Full-sized drag &amp; drop event calendar

20.5k374.8k4](/packages/fullcalendar-fullcalendar)[eternicode/bootstrap-datepicker

A datepicker for Bootstrap

12.7k548.1k6](/packages/eternicode-bootstrap-datepicker)[eonasdan/bootstrap-datetimepicker

Date/time picker widget based on twitter bootstrap

7.2k496.2k9](/packages/eonasdan-bootstrap-datetimepicker)[trentrichardson/jquery-timepicker-addon

Adds a timepicker to jQueryUI Datepicker.

2.6k70.5k](/packages/trentrichardson-jquery-timepicker-addon)[jonthornton/jquery-timepicker

A javascript timepicker plugin for jQuery inspired by Google Calendar.

1.9k41.5k1](/packages/jonthornton-jquery-timepicker)[grimmlink/bootstrap-filestyle

jQuery customization of input html file for Bootstrap Twitter http://markusslima.github.io/bootstrap-filestyle/

71410.6k](/packages/grimmlink-bootstrap-filestyle)

PHPackages © 2026

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