PHPackages                             snapappointments/bootstrap-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. snapappointments/bootstrap-select

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

snapappointments/bootstrap-select
=================================

The jQuery plugin that brings select elements into the 21st century with intuitive multiselection, searching, and much more. Now with Bootstrap 4 support.

v1.13.18(5y ago)9.8k480.4k—4.9%2.7k[298 issues](https://github.com/snapappointments/bootstrap-select/issues)[20 PRs](https://github.com/snapappointments/bootstrap-select/pulls)3MITJavaScript

Since Dec 10Pushed 1y ago329 watchersCompare

[ Source](https://github.com/snapappointments/bootstrap-select)[ Packagist](https://packagist.org/packages/snapappointments/bootstrap-select)[ Docs](https://developer.snapappointments.com/bootstrap-select)[ GitHub Sponsors](https://github.com/caseyjhol)[ RSS](/packages/snapappointments-bootstrap-select/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (64)Used By (3)

bootstrap-select
================

[](#bootstrap-select)

 **The jQuery plugin that brings select elements into the 21st century with intuitive multiselection, searching, and much more. Now with Bootstrap 5 support.**

 [ ![Latest release](https://camo.githubusercontent.com/da96b3776699bd2d84a195e2dcdfc955c25347b29c304c46a534a54c177e9376/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f736e61706170706f696e746d656e74732f626f6f7473747261702d73656c6563742e737667) ](https://github.com/snapappointments/bootstrap-select/releases/latest) [ ![npm](https://camo.githubusercontent.com/16d438025191b71421836a5ac7e88b4d2fa9882202ed9cd650a780aefc82d3d7/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f626f6f7473747261702d73656c6563742e737667) ](https://www.npmjs.com/package/bootstrap-select) [ ![NuGet](https://camo.githubusercontent.com/252ba48a53bae09841e0be6fddf9b202dedac82c0f3617e144cd7ef284866732/68747470733a2f2f696d672e736869656c64732e696f2f6e756765742f762f626f6f7473747261702d73656c6563742e737667) ](https://www.nuget.org/packages/bootstrap-select) [ ![CDNJS](https://camo.githubusercontent.com/4b3a4ed8453ca848e2c87c08b026dccef21ea91da6acf55947f802e559de3d5d/68747470733a2f2f696d672e736869656c64732e696f2f63646e6a732f762f626f6f7473747261702d73656c6563742e737667) ](https://cdnjs.com/libraries/bootstrap-select) [ ![jsDelivr](https://camo.githubusercontent.com/515d95fe98c20a24f1e21625500f3328f4b598127cf3c1b6373209adab55aa14/68747470733a2f2f646174612e6a7364656c6976722e636f6d2f76312f7061636b6167652f6e706d2f626f6f7473747261702d73656c6563742f62616467653f7374796c653d726f756e646564) ](https://www.jsdelivr.com/package/npm/bootstrap-select)
 [ ![License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667) ](https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)

 [![bootstrap-select demo](https://user-images.githubusercontent.com/2874325/38997831-97e12bbe-43ab-11e8-85f5-b8c05d91c7b1.gif)](https://developer.snapappointments.com/bootstrap-select)

Demo
----

[](#demo)

You can view a live demo and some examples of how to use the various options [here](https://developer.snapappointments.com/bootstrap-select/examples/).

Quick start
-----------

[](#quick-start)

Bootstrap-select requires jQuery v1.9.1+, Bootstrap’s dropdown.js component, and Bootstrap's CSS. If you're not already using Bootstrap in your project, a precompiled version of the Bootstrap v3.4.1 minimum requirements can be downloaded [here](https://getbootstrap.com/docs/3.4/customize/?id=7830063837006f6fc84f). If using bootstrap-select with Bootstrap v4+, you'll also need Popper.js. For all of Bootstrap v4's requirements, see [Getting started](https://getbootstrap.com/docs/4.1/getting-started/introduction/). A precompiled version of the requirements will be made available in an upcoming release of bootstrap-select.

Several quick start options are available:

- [Download the latest release.](https://github.com/snapappointments/bootstrap-select/archive/v1.14.0-beta3.zip)
- Clone the repo: `git clone https://github.com/snapappointments/bootstrap-select.git`
- Install with [npm](https://www.npmjs.com/package/bootstrap-select): `npm install bootstrap-select`
- Install with [yarn](https://yarnpkg.com/package/bootstrap-select): `yarn add bootstrap-select`
- Install with [Composer](https://packagist.org/packages/snapappointments/bootstrap-select): `composer require snapappointments/bootstrap-select`
- Install with [NuGet](https://www.nuget.org/packages/bootstrap-select): `Install-Package bootstrap-select`
- Install with [Bower](https://bower.io): `bower install bootstrap-select`
- Install via CDN ([cdnjs](https://cdnjs.com/libraries/bootstrap-select), [jsDelivr](https://www.jsdelivr.com/package/npm/bootstrap-select) or [PageCDN](https://pagecdn.com/lib/bootstrap-select)):

```

```

> The CDN is updated after the release is made public, which means that there is a delay between the publishing of a release and its availability on the CDN.

Usage
-----

[](#usage)

> Bootstrap 4 only works with bootstrap-select v1.13.0+. By default, bootstrap-select automatically detects the version of Bootstrap being used. However, there are some instances where the version detection won't work. See the [documentation](https://developer.snapappointments.com/bootstrap-select/options/#bootstrap-version) for more information.

### Via `selectpicker` class

[](#via-selectpicker-class)

Add the `selectpicker` class to your select elements to auto-initialize bootstrap-select.

```

  Mustard
  Ketchup
  Barbecue

```

### Via JavaScript

[](#via-javascript)

```
// To style only selects with the my-select class
$('.my-select').selectpicker();
```

or

```
// To style all selects
$('select').selectpicker();
```

If calling bootstrap-select via JavaScript, you will need to wrap your code in a [`.ready()`](https://api.jquery.com/ready/) block or place it at the bottom of the page (after the last instance of bootstrap-select).

```
$(function () {
	$('select').selectpicker();
});
```

Check out the [documentation](https://developer.snapappointments.com/bootstrap-select) for further information.

Bugs and feature requests
-------------------------

[](#bugs-and-feature-requests)

Anyone and everyone is welcome to contribute. **Please take a moment to review the [guidelines for contributing](CONTRIBUTING.md)**. Make sure you're using the latest version of bootstrap-select before submitting an issue.

- [Bug reports](CONTRIBUTING.md#bug-reports)
- [Feature requests](CONTRIBUTING.md#feature-requests)

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

[](#documentation)

Bootstrap-select's documentation, included in this repo in the root directory, is built with MkDocs and hosted at . The documentation may also be [run locally](CONTRIBUTING.md#running-documentation-locally).

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

[](#copyright-and-license)

Copyright (C) 2012-2018 [SnapAppointments, LLC](https://snapappointments.com)

Licensed under [the MIT license](LICENSE).

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity71

Solid adoption and visibility

Community47

Growing community involvement

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 76.2% 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 ~51 days

Recently: every ~178 days

Total

60

Last Release

1489d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/338afacee3df413247a272724db3747e499c6337428b6abc3cb94a2b73eef5b1?d=identicon)[caseyjhol](/maintainers/caseyjhol)

---

Top Contributors

[![caseyjhol](https://avatars.githubusercontent.com/u/2874325?v=4)](https://github.com/caseyjhol "caseyjhol (1274 commits)")[![t0xicCode](https://avatars.githubusercontent.com/u/1268885?v=4)](https://github.com/t0xicCode "t0xicCode (144 commits)")[![silviomoreto](https://avatars.githubusercontent.com/u/2363151?v=4)](https://github.com/silviomoreto "silviomoreto (110 commits)")[![NicolasCARPi](https://avatars.githubusercontent.com/u/3043706?v=4)](https://github.com/NicolasCARPi "NicolasCARPi (32 commits)")[![vsn4ik](https://avatars.githubusercontent.com/u/3757319?v=4)](https://github.com/vsn4ik "vsn4ik (32 commits)")[![anacarolinats](https://avatars.githubusercontent.com/u/755514?v=4)](https://github.com/anacarolinats "anacarolinats (15 commits)")[![altearius](https://avatars.githubusercontent.com/u/270430?v=4)](https://github.com/altearius "altearius (6 commits)")[![phongdatgl](https://avatars.githubusercontent.com/u/3400817?v=4)](https://github.com/phongdatgl "phongdatgl (5 commits)")[![dcwatson](https://avatars.githubusercontent.com/u/293445?v=4)](https://github.com/dcwatson "dcwatson (4 commits)")[![praisedpk](https://avatars.githubusercontent.com/u/4748775?v=4)](https://github.com/praisedpk "praisedpk (4 commits)")[![mattbryson](https://avatars.githubusercontent.com/u/548948?v=4)](https://github.com/mattbryson "mattbryson (3 commits)")[![antonellopasella](https://avatars.githubusercontent.com/u/96335?v=4)](https://github.com/antonellopasella "antonellopasella (3 commits)")[![jkrehm](https://avatars.githubusercontent.com/u/999845?v=4)](https://github.com/jkrehm "jkrehm (3 commits)")[![jonathantneal](https://avatars.githubusercontent.com/u/188426?v=4)](https://github.com/jonathantneal "jonathantneal (3 commits)")[![raido](https://avatars.githubusercontent.com/u/659945?v=4)](https://github.com/raido "raido (3 commits)")[![smashercosmo](https://avatars.githubusercontent.com/u/273283?v=4)](https://github.com/smashercosmo "smashercosmo (3 commits)")[![MisatoTremor](https://avatars.githubusercontent.com/u/3536384?v=4)](https://github.com/MisatoTremor "MisatoTremor (2 commits)")[![jesenko](https://avatars.githubusercontent.com/u/740797?v=4)](https://github.com/jesenko "jesenko (2 commits)")[![noirbizarre](https://avatars.githubusercontent.com/u/15725?v=4)](https://github.com/noirbizarre "noirbizarre (2 commits)")[![iaesaudi](https://avatars.githubusercontent.com/u/11377260?v=4)](https://github.com/iaesaudi "iaesaudi (2 commits)")

---

Tags

bootstrapdropdownjavascriptjqueryselectuiuxjavascriptjquerybootstrapformdropdownselectreplacement

### Embed Badge

![Health badge](/badges/snapappointments-bootstrap-select/health.svg)

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

###  Alternatives

[kartik-v/dependent-dropdown

A multi level dependent dropdown JQuery plugin that allows nested dependencies.

1805.0M3](/packages/kartik-v-dependent-dropdown)[kartik-v/yii2-widget-depdrop

Widget that enables setting up dependent dropdowns with nested dependencies (sub repo split from yii2-widgets)

814.9M18](/packages/kartik-v-yii2-widget-depdrop)[kartik-v/yii2-widget-typeahead

Enhanced Yii2 wrapper for the Twitter Typeahead plugin (sub repo split from yii2-widgets).

454.8M9](/packages/kartik-v-yii2-widget-typeahead)[kartik-v/yii2-widget-rating

A Yii2 widget for the simple yet powerful bootstrap-star-rating plugin with fractional rating support (sub repo split from yii2-widgets)

444.1M8](/packages/kartik-v-yii2-widget-rating)[kartik-v/yii2-widget-timepicker

Enhanced Yii2 wrapper for the bootstrap timepicker plugin (sub repo split from yii2-widgets)

404.9M14](/packages/kartik-v-yii2-widget-timepicker)[harvesthq/chosen

Chosen is a JavaScript plugin that makes select boxes user-friendly. It is currently available in both jQuery and Prototype flavors.

385.2M12](/packages/harvesthq-chosen)

PHPackages © 2026

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