PHPackages                             iviarco/jquery-autocomplete - 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. iviarco/jquery-autocomplete

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

iviarco/jquery-autocomplete
===========================

JQuery auto complete drop-down list

v2.1.0(6y ago)033MITJavaScript

Since Jul 11Pushed 5y agoCompare

[ Source](https://github.com/iviarco/jquery-autocomplete)[ Packagist](https://packagist.org/packages/iviarco/jquery-autocomplete)[ RSS](/packages/iviarco-jquery-autocomplete/feed)WikiDiscussions v2.1.1 Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

Autocomplete
============

[](#autocomplete)

[![Latest Stable Version](https://camo.githubusercontent.com/4bd43f0d0e84fb9ce50a13e6026d0d2a7e0c6ac09a227e1e110ac7e0e48b46d7/68747470733a2f2f706f7365722e707567782e6f72672f6976696172636f2f6a71756572792d6175746f636f6d706c6574652f762f737461626c65)](https://packagist.org/packages/iviarco/jquery-autocomplete)[![Total Downloads](https://camo.githubusercontent.com/7f70b178494b0c6c9b0950d19e37089405e0853bf3014b1481740fb0083735c2/68747470733a2f2f706f7365722e707567782e6f72672f6976696172636f2f6a71756572792d6175746f636f6d706c6574652f646f776e6c6f616473)](https://packagist.org/packages/iviarco/jquery-autocomplete)[![Latest Unstable Version](https://camo.githubusercontent.com/36c345cb2ec908b8e49a5fd4e4f3c50c74b52c292dca080d4c3dc002682561a7/68747470733a2f2f706f7365722e707567782e6f72672f6976696172636f2f6a71756572792d6175746f636f6d706c6574652f762f756e737461626c65)](https://packagist.org/packages/iviarco/jquery-autocomplete)[![License](https://camo.githubusercontent.com/2507aa79a31c331f2f8d474732e40fca86e2bf2d64b55f8ffdfc347e57ff5a47/68747470733a2f2f706f7365722e707567782e6f72672f6976696172636f2f6a71756572792d6175746f636f6d706c6574652f6c6963656e7365)](https://packagist.org/packages/iviarco/jquery-autocomplete)

***Autocomplete*** makes it so easy for you to manipulate input dropdown and fetch data that returns ***`jQuery promise`***. Autocomplete is based in ***`jQuery ^3`*** and ***`ES6 syntax`***.

Features
--------

[](#features)

- handles data in array format
- returns jQuery promise if uses ***`post("data.json")`*** method

Install with composer
---------------------

[](#install-with-composer)

To install with [Composer](https://getcomposer.org/), simply require the latest version of this package.

```
composer require iviarco/jquery-autocomplete
```

Quick Start
-----------

[](#quick-start)

**HTML**

```

```

**Javascript**

```
// option 1
// instantiate with args $('#input') and Data
let ac = new autocomplete($('#input'), [
	{id: 1, data: 'test1'},
	{id: 2, data: 'test2'},
	{id: 3, data: 'test3'},
	{id: 4, data: 'test4'},
	{id: 5, data: 'test5'},
	{id: 6, data: 'test6'},
]);
```

```
// option 2
// instantiate with $('#input')
let ac = new autocomplete($('#input'));

// post request
ac.post('/material.json')

// jQuery promise
.then(res=>{
	let list = [];

    // populate list[];
	$.each(res.data, (e, data)=>{
		list.push({
			id: data.material_id,
			data: data.particular,
		});
	});

    // pass list[] to setData() that serves as the items for the dropdown.
	ac.setData(list);
});
```

A callback when item is selected.

```
 	ac.itemSelected((id, val, input)=>{
		 // do awesome here...
    });
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~60 days

Recently: every ~78 days

Total

7

Last Release

2133d ago

Major Versions

v1.2.0 → v2.0.02019-09-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/4859ddb0f0841966a519d234eef6f3dc15cd2373a3b8456c6c2c0e7f1bf428da?d=identicon)[iviarco](/maintainers/iviarco)

---

Top Contributors

[![ivixrcx](https://avatars.githubusercontent.com/u/34504468?v=4)](https://github.com/ivixrcx "ivixrcx (9 commits)")

### Embed Badge

![Health badge](/badges/iviarco-jquery-autocomplete/health.svg)

```
[![Health](https://phpackages.com/badges/iviarco-jquery-autocomplete/health.svg)](https://phpackages.com/packages/iviarco-jquery-autocomplete)
```

###  Alternatives

[froiden/laravel-installer

Laravel web installer

10883.9k](/packages/froiden-laravel-installer)

PHPackages © 2026

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