PHPackages                             qcubed/plugin\_autocomplete2 - 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. qcubed/plugin\_autocomplete2

ActiveQcubed-plugin[Utility &amp; Helpers](/categories/utility)

qcubed/plugin\_autocomplete2
============================

QCubed wrapper for the jquery.ui.autocomplete2.js jQuery plugin.

1.0.3(10y ago)12415[1 PRs](https://github.com/qcubed/plugin_autocomplete2/pulls)MITPHPPHP &gt;=5.4

Since Nov 16Pushed 8y ago8 watchersCompare

[ Source](https://github.com/qcubed/plugin_autocomplete2)[ Packagist](https://packagist.org/packages/qcubed/plugin_autocomplete2)[ RSS](/packages/qcubed-plugin-autocomplete2/feed)WikiDiscussions master Synced today

READMEChangelog (4)DependenciesVersions (6)Used By (0)

jquery.ui.autocomplete2.js and QAutocomplete2
=============================================

[](#jqueryuiautocomplete2js-and-qautocomplete2)

This repo hosts both the jquery.ui.autocomplete2.js file and the corresponding QAutocomplete2 plugin.

QAutocomplete2
--------------

[](#qautocomplete2)

QAutocomplete2 is a QCubed wrapper for the jQuery jquery.ui.autocomplate2.js plugin.

This control is installable by Composer. To install, execute the following on your command line:

```
	composer require qcubed/plugin_autocomplete2

```

jquery.ui.autocomplete2.js
--------------------------

[](#jqueryuiautocomplete2js)

This plugin adds a few features that are missing from the standard jQuery UI Autocomplete and some of which the jQuery UI team has said they won't incorporate into their code.

- Allows pending searches to complete even if the user tabs out of the field. With certain forms, users quickly learn what key combinations will select a particular item in an autocomplete. The base implementation can be frustrating to use, because if the user tabs out before the menu appears and is rendered, then the field is reverted to its previous value. This plugin remedies that by completing the search and selecting the item that would have been selected. Because of this, you DO have to be ready to have the autocomplete change AFTER a blur event.
- Issues a change event when the autocomplete changes, even after a blur event when resolving a pending ajax search.
- Looks inside the result item list for an item with the .selected attribute and selects that item. This allows you to specify a selected item that is not the top item in the list. Helpful when using categories or other special situations with autofocus.
- mustMatch option requires a selection from the list to be made, or it will return to prior selection.
- renderHtml will use the label of the returned item as html to display in the list. Based on Scott Gonzales code, but with additional fix so that the html is not included when searching.
- combo option will render as a combobox. Combobox can be fixed with or percent based, and will try to guess.
- comboWidth option specifies the width of the combo box when you need to expressly set it. Helpful when the guessing code can't correctly figure out if you want a fixed width or percentage width combobox.
- multiValDelim option specifies the delimiter that separates the items in a multiple selection situation. Setting this puts this in a mode where multiple selections are allowed.
- Sends "this" to the filter function so that the filter can respond differently based on options.
- Added regEx option so you can more easily change the filtering expression.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 88.5% 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 ~155 days

Total

5

Last Release

3991d ago

Major Versions

0.1 → 1.0.02013-11-28

PHP version history (2 changes)0.1PHP &gt;=5.3

1.0.3PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd62ae6695bf1109cc028b7a2c41ae4b28462211c9c48db1bc19083351ac88e5?d=identicon)[qcubed](/maintainers/qcubed)

---

Top Contributors

[![spekary](https://avatars.githubusercontent.com/u/755757?v=4)](https://github.com/spekary "spekary (23 commits)")[![vaibhav-kaushal](https://avatars.githubusercontent.com/u/2824682?v=4)](https://github.com/vaibhav-kaushal "vaibhav-kaushal (2 commits)")[![scottux](https://avatars.githubusercontent.com/u/135884?v=4)](https://github.com/scottux "scottux (1 commits)")

---

Tags

autocompleteqcubed

### Embed Badge

![Health badge](/badges/qcubed-plugin-autocomplete2/health.svg)

```
[![Health](https://phpackages.com/badges/qcubed-plugin-autocomplete2/health.svg)](https://phpackages.com/packages/qcubed-plugin-autocomplete2)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k132.8M891](/packages/barryvdh-laravel-ide-helper)[jetbrains/phpstorm-stubs

PHP runtime &amp; extensions header files for PhpStorm

1.4k32.7M83](/packages/jetbrains-phpstorm-stubs)[twitter/typeahead.js

fast and fully-featured autocomplete library

16.5k215.0k4](/packages/twitter-typeaheadjs)[corejavascript/typeahead.js

fast and fully-featured autocomplete library

968108.3k2](/packages/corejavascript-typeaheadjs)[phalcon/ide-stubs

The most complete Phalcon Framework IDE stubs library which enables autocompletion in modern IDEs.

1703.3M132](/packages/phalcon-ide-stubs)[bazilio/yii2-stubs-generator

Yii2 component stubs generator for Yii::$app

146766.2k1](/packages/bazilio-yii2-stubs-generator)

PHPackages © 2026

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