PHPackages                             gaomingcode/bootstrap.tagsinput - 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. gaomingcode/bootstrap.tagsinput

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

gaomingcode/bootstrap.tagsinput
===============================

jQuery tags input plugin based on Twitter Bootstrap.

0.8.1(4y ago)011MIT

Since Jun 3Pushed 4y agoCompare

[ Source](https://github.com/gaomingcode/bootstrap-tagsinput)[ Packagist](https://packagist.org/packages/gaomingcode/bootstrap.tagsinput)[ Docs](http://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/)[ RSS](/packages/gaomingcode-bootstraptagsinput/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Bootstrap Tags Input
====================

[](#bootstrap-tags-input)

[![GitHub Version](https://camo.githubusercontent.com/33aa70d5bc989ddb8404c30b0bfc480aef7dc2ee3a852d16ac266ed44b4c9b7b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f67616f6d696e67636f64652f626f6f7473747261702d74616773696e7075742e737667)](https://github.com/gaomingcode/bootstrap-tagsinput)[![Packagist Downloads](https://camo.githubusercontent.com/2663c7ba28b018272d10bb78553443a6626bfb3fa7a4a661e0ae8f856f978c6f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f67616f6d696e67636f64652f626f6f7473747261702e74616773696e707574)](https://github.com/gaomingcode/bootstrap-tagsinput)[![Github License](https://camo.githubusercontent.com/b42912ba5d2e9f6fb391de1dc18386a0c723ccf4732f298f90f91493c1a3aa77/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f67616f6d696e67636f64652f626f6f7473747261702d74616773696e707574)](https://github.com/gaomingcode/bootstrap-tagsinput)

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

[](#installation)

### Composer

[](#composer)

```
composer require gaomingcode/bootstrap.tagsinput

```

ReadMe from Origin
------------------

[](#readme-from-origin)

Bootstrap Tags Input is a jQuery plugin providing a Twitter Bootstrap user interface for managing tags.

Current stable version: **v0.8.0**

Usage
-----

[](#usage)

Examples can be found [here](http://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/).

Features
--------

[](#features)

- Objects as tags
- True multi value
- Typeahead
- Designed for Bootstrap 2.3.2 and 3

### Objects as tags

[](#objects-as-tags)

Not just support for using strings! This means you can use different values for a tag's label and value. Each tag also holds a reference to the object by which it was created, so by calling `tagsinput('items')` an array of the original items is returned.

### True multi value support

[](#true-multi-value-support)

Other implementations just concatenate the values to a comma separated string. This results in `val()` returning just this string, and when submitting the form, only one big, concatenated value is sent in the request.

Bootstrap Tags Input provides true multivalue support. Just use a `` as your input element, and `val()` will return an array of the tag values. When submitting the form, an array of values will be sent with the request.

### Typeahead support

[](#typeahead-support)

Integrates with Twitter Bootstraps' 2.3.2 typeahead, or use custom typeahead when using Bootstrap 3.

Development
-----------

[](#development)

Install dependencies:

```
npm install
grunt install
```

Test:

```
grunt test
```

Build:

```
grunt build
```

Current Library Versions:

- Bootstrap: 3.3.5
- jQuery: 2.1.4
- Typeahead: 0.11.1

Libraries for testing go in the **/lib** directory.

History
-------

[](#history)

- 0.8.0
    - [Add possibility skip "change" event after "add", "remove", "removeAll"](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/pull/429)
    - [Please add version to header of non-minified version.](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/438)
- 0.7.1
    - [allowDuplicates not working](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/419)
    - [tag text appears when typeahead input looses focus](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/386)
    - [Remove duplicate method `removeAll` in manual](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/pull/427)
- 0.7.0
    - [.tt-menu etc. styles should be included in bootstrap-tagsinput.css by default](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/426)
    - [Comma character carried over to new tag input when used as separator](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/422)
    - [Emails in multi select are being duplicated](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/399)
    - [The 'itemAdded' Event run on Load the Page!](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/369)
- 0.6.1
    - [Source maps fix](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/371)
- 0.6.0
    - [Allow form submissions when pressing enter if field is empty. Controlled by option](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/368)
    - [Ability to set different or multiple delimiters](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/397)
    - [No longer triggering itemRemoved when the field is already empty](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/405)
- 0.5
    - [Added an optional 3rd parameter to the "add" and "remove" methods](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/pull/298)
- 0.4
    - [Fix typeahead when using Bootstrap 3](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/pull/73)
- 0.3.13
    - [\#5: Trigger events on original input/select](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/5)
    - Loads of fixes merged with help of @janvt, @rlidwka and @kuraga: thanks for helping me out!
- 0.3.9
    - [\#48: Type ahead stops when entering second character](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/48)
- 0.3.8
    - [\#43: Add support for placeholder](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/pull/43)
    - [\#46: ie 8 compatibility, replace indexOf method](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/pull/46)
- 0.3.7
    - [\#39: flash when duplicate is entered](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/39)
- 0.3.6
    - [\#34: Error in ReloadPage](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/34)
- 0.3.5
    - [\#10: confirmKeys option](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/10)
- 0.3.4
    - [\#24: Add bsTagsInput angular directive &amp; example for bootstrap3 with typeahea...](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/pull/24)
    - [\#28: Limit number of tags, enable/disable input](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/pull/28)
    - [\#33: Avoid conflict with other selects when checking for value presence](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/pull/33)

License
-------

[](#license)

This project is licensed under [MIT](https://raw.github.com/bootstrap-tagsinput/bootstrap-tagsinput/master/LICENSE "Read more about the MIT license").

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

1810d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b333bd44a2f7f526cc29a59b2945b27c7d2f31df68b92c2eb46efbddc032483?d=identicon)[gaomingcode](/maintainers/gaomingcode)

---

Top Contributors

[![timschlechter](https://avatars.githubusercontent.com/u/2721613?v=4)](https://github.com/timschlechter "timschlechter (221 commits)")[![lucknerjb](https://avatars.githubusercontent.com/u/832836?v=4)](https://github.com/lucknerjb "lucknerjb (79 commits)")[![kuraga](https://avatars.githubusercontent.com/u/1063219?v=4)](https://github.com/kuraga "kuraga (11 commits)")[![gaomingcode](https://avatars.githubusercontent.com/u/53959161?v=4)](https://github.com/gaomingcode "gaomingcode (7 commits)")[![caulfield](https://avatars.githubusercontent.com/u/906583?v=4)](https://github.com/caulfield "caulfield (6 commits)")[![rlidwka](https://avatars.githubusercontent.com/u/999113?v=4)](https://github.com/rlidwka "rlidwka (4 commits)")[![danielsvane](https://avatars.githubusercontent.com/u/36197?v=4)](https://github.com/danielsvane "danielsvane (4 commits)")[![tim-peterson](https://avatars.githubusercontent.com/u/1173307?v=4)](https://github.com/tim-peterson "tim-peterson (4 commits)")[![dhendo](https://avatars.githubusercontent.com/u/497906?v=4)](https://github.com/dhendo "dhendo (3 commits)")[![joni2back](https://avatars.githubusercontent.com/u/2049935?v=4)](https://github.com/joni2back "joni2back (3 commits)")[![wardpeet](https://avatars.githubusercontent.com/u/1120926?v=4)](https://github.com/wardpeet "wardpeet (2 commits)")[![d-b](https://avatars.githubusercontent.com/u/2770206?v=4)](https://github.com/d-b "d-b (2 commits)")[![janvt](https://avatars.githubusercontent.com/u/3647057?v=4)](https://github.com/janvt "janvt (2 commits)")[![dwalters](https://avatars.githubusercontent.com/u/103465647?v=4)](https://github.com/dwalters "dwalters (2 commits)")[![foosbar](https://avatars.githubusercontent.com/u/1304526?v=4)](https://github.com/foosbar "foosbar (2 commits)")[![leighhalliday](https://avatars.githubusercontent.com/u/603921?v=4)](https://github.com/leighhalliday "leighhalliday (2 commits)")[![rnevet](https://avatars.githubusercontent.com/u/1645822?v=4)](https://github.com/rnevet "rnevet (2 commits)")[![gdibble](https://avatars.githubusercontent.com/u/906846?v=4)](https://github.com/gdibble "gdibble (2 commits)")[![westonganger](https://avatars.githubusercontent.com/u/3414795?v=4)](https://github.com/westonganger "westonganger (1 commits)")[![emmx](https://avatars.githubusercontent.com/u/1238560?v=4)](https://github.com/emmx "emmx (1 commits)")

---

Tags

bootstraptagsinput

### Embed Badge

![Health badge](/badges/gaomingcode-bootstraptagsinput/health.svg)

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

###  Alternatives

[kartik-v/yii2-editable

An enhanced editable widget for Yii 2.0 that allows easy editing of displayed data with numerous configuration possibilities.

1163.2M59](/packages/kartik-v-yii2-editable)[kartik-v/yii2-date-range

An advanced Yii 2 date range picker input for based on bootstrap-daterangepicker plugin.

894.4M42](/packages/kartik-v-yii2-date-range)[kartik-v/yii2-dialog

An asset bundle for bootstrap3-dialog for Yii 2.0 framework.

496.2M18](/packages/kartik-v-yii2-dialog)[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)[kartik-v/yii2-widget-touchspin

A Yii2 wrapper widget for the Bootstrap Switch plugin to use checkboxes &amp; radios as toggle touchspines (sub repo split from yii2-widgets)

184.1M6](/packages/kartik-v-yii2-widget-touchspin)[romdim/yii2-bootstrap-material

Composer package for implementing FezVrasta's bootstrap material design in Yii2.

2010.9k3](/packages/romdim-yii2-bootstrap-material)

PHPackages © 2026

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