PHPackages                             corejavascript/typeahead.js - 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. corejavascript/typeahead.js

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

corejavascript/typeahead.js
===========================

fast and fully-featured autocomplete library

v1.3.4(2y ago)975103.8k↑45.2%234[87 issues](https://github.com/corejavascript/typeahead.js/issues)[19 PRs](https://github.com/corejavascript/typeahead.js/pulls)2MITJavaScript

Since Feb 2Pushed 1y ago41 watchersCompare

[ Source](https://github.com/corejavascript/typeahead.js)[ Packagist](https://packagist.org/packages/corejavascript/typeahead.js)[ Docs](https://typeahead.js.org/)[ RSS](/packages/corejavascript-typeaheadjs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)DependenciesVersions (22)Used By (2)

[![Build Status](https://camo.githubusercontent.com/33a5fa79a6a2aba975683b5a86ad0f573c63163f2e8d8bb53ddf727f62747d1d/68747470733a2f2f7472617669732d63692e6f72672f636f72656a6176617363726970742f7479706561686561642e6a732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/corejavascript/typeahead.js)[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/corejavascript/typeahead.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![License](https://camo.githubusercontent.com/74ea3d774c5103e6783dc09d57ef2525e1ddb80fee772cd83c2f766cf7e62e78/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://raw.githubusercontent.com/iron/iron/master/LICENSE)

[corejs-typeahead](https://typeahead.js.org/)
=============================================

[](#corejs-typeahead)

This is a maintained fork of [twitter.com](https://twitter.com)'s autocomplete search library, [typeahead.js](https://github.com/twitter/typeahead.js).

The typeahead.js library consists of 2 components: the suggestion engine, [Bloodhound](https://github.com/corejavascript/typeahead.js/blob/master/doc/bloodhound.md), and the UI view, [Typeahead](https://github.com/corejavascript/typeahead.js/blob/master/doc/jquery_typeahead.md). The suggestion engine is responsible for computing suggestions for a given query. The UI view is responsible for rendering suggestions and handling DOM interactions. Both components can be used separately, but when used together, they can provide a rich typeahead experience.

Getting Started
---------------

[](#getting-started)

How you acquire typeahead.js is up to you:

- Install with [Bower](https://bower.io/): `$ bower install corejs-typeahead`
- Install with [npm](https://www.npmjs.com): `$ npm install corejs-typeahead`
- Install with [composer](https://getcomposer.org/): `$ composer require corejavascript/typeahead.js`
- [Download zipball of latest release](https://github.com/corejavascript/typeahead.js/archive/master.zip)
- Download the latest dist files individually:

    - [bloodhound.js](https://github.com/corejavascript/typeahead.js/raw/master/dist/bloodhound.js) (standalone suggestion engine)
    - [typeahead.jquery.js](https://github.com/corejavascript/typeahead.js/raw/master/dist/typeahead.jquery.js) (standalone UI view)
    - [typeahead.bundle.js](https://github.com/corejavascript/typeahead.js/raw/master/dist/typeahead.bundle.js) (*bloodhound.js* + *typeahead.jquery.js*)
    - [typeahead.bundle.min.js](https://github.com/corejavascript/typeahead.js/raw/master/dist/typeahead.bundle.min.js)

**Note:** both *bloodhound.js* and *typeahead.jquery.js* have a dependency on [jQuery](http://jquery.com/) 1.9+.

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

[](#documentation)

- [Typeahead Docs](https://github.com/corejavascript/typeahead.js/blob/master/doc/jquery_typeahead.md)
- [Bloodhound Docs](https://github.com/corejavascript/typeahead.js/blob/master/doc/bloodhound.md)

Examples
--------

[](#examples)

For some working examples of typeahead.js, visit the [examples page](https://typeahead.js.org/examples).

Browser Support
---------------

[](#browser-support)

- Chrome
- Firefox 3.5+
- Safari 4+
- Internet Explorer 8+
- Opera 11+

**NOTE:** typeahead.js is not tested on mobile browsers.

Customer Support
----------------

[](#customer-support)

For general questions about typeahead.js, tweet at [@typeahead](https://twitter.com/typeahead).

For technical questions, you should post a question on [Stack Overflow](http://stackoverflow.com/) and tag it with [typeahead.js](http://stackoverflow.com/questions/tagged/typeahead.js).

Issues
------

[](#issues)

Discovered a bug? Please create an issue here on GitHub!

[github.com/corejavascript/typeahead.js/issues](https://github.com/corejavascript/typeahead.js/issues)

Versioning
----------

[](#versioning)

For transparency and insight into our release cycle, releases will be numbered with the following format:

`..`

And constructed with the following guidelines:

- Breaking backwards compatibility bumps the major
- New additions without breaking backwards compatibility bumps the minor
- Bug fixes and misc changes bump the patch

For more information on semantic versioning, please visit [semver.org](http://semver.org/).

Testing
-------

[](#testing)

Tests are written using [Jasmine](http://jasmine.github.io/) and ran with [Karma](http://karma-runner.github.io/). To run the test suite with PhantomJS, run `$ npm test`.

Developers
----------

[](#developers)

If you plan on contributing to typeahead.js, be sure to read the [contributing guidelines](https://github.com/corejavascript/typeahead.js/blob/master/contributing.md). A good starting place for new contributors are issues labeled with [entry-level](https://github.com/corejavascript/typeahead.js/issues?&labels=entry-level&state=open). Entry-level issues tend to require minor changes and provide developers a chance to get more familiar with typeahead.js before taking on more challenging work.

In order to build and test typeahead.js, you'll need to install its dev dependencies (`$ npm install`) and have [grunt-cli](https://github.com/gruntjs/grunt-cli)installed (`$ npm install -g grunt-cli`). Below is an overview of the available Grunt tasks that'll be useful in development.

- `grunt build` – Builds *typeahead.js* from source.
- `grunt lint` – Runs source and test files through JSHint.
- `grunt watch` – Rebuilds *typeahead.js* whenever a source file is modified.
- `grunt server` – Serves files from the root of typeahead.js on localhost:8888. Useful for using *test/playground.html* for debugging/testing.
- `grunt dev` – Runs `grunt watch` and `grunt server` in parallel.

Maintainers
-----------

[](#maintainers)

- [CoreJS Collaborators](https://github.com/orgs/corejavascript/teams/collaborators)
- **You?**

Authors
-------

[](#authors)

- **Jake Harding**

    - [@JakeHarding](https://twitter.com/JakeHarding)
    - [GitHub](https://github.com/jharding)
- **Veljko Skarich**

    - [@vskarich](https://twitter.com/vskarich)
    - [GitHub](https://github.com/vskarich)
- **Tim Trueman**

    - [@timtrueman](https://twitter.com/timtrueman)
    - [GitHub](https://github.com/timtrueman)

License
-------

[](#license)

Copyright 2013 Twitter, Inc.

Licensed under the MIT License

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity57

Moderate usage in the ecosystem

Community38

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

Recently: every ~380 days

Total

19

Last Release

854d ago

Major Versions

v0.11.1.x-dev → v1.0.12016-11-17

### Community

Maintainers

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

---

Top Contributors

[![jharding](https://avatars.githubusercontent.com/u/314351?v=4)](https://github.com/jharding "jharding (80 commits)")[![jlbooker](https://avatars.githubusercontent.com/u/3429673?v=4)](https://github.com/jlbooker "jlbooker (48 commits)")[![Apfeluser](https://avatars.githubusercontent.com/u/141818336?v=4)](https://github.com/Apfeluser "Apfeluser (11 commits)")[![jesperronn](https://avatars.githubusercontent.com/u/6267?v=4)](https://github.com/jesperronn "jesperronn (10 commits)")[![lenovouser](https://avatars.githubusercontent.com/u/7549136?v=4)](https://github.com/lenovouser "lenovouser (7 commits)")[![wakingrufus](https://avatars.githubusercontent.com/u/8632982?v=4)](https://github.com/wakingrufus "wakingrufus (7 commits)")[![timtrueman](https://avatars.githubusercontent.com/u/20725?v=4)](https://github.com/timtrueman "timtrueman (7 commits)")[![jcrben](https://avatars.githubusercontent.com/u/5614134?v=4)](https://github.com/jcrben "jcrben (5 commits)")[![caniszczyk](https://avatars.githubusercontent.com/u/63777?v=4)](https://github.com/caniszczyk "caniszczyk (5 commits)")[![sheeley](https://avatars.githubusercontent.com/u/121681?v=4)](https://github.com/sheeley "sheeley (4 commits)")[![easternbloc](https://avatars.githubusercontent.com/u/92585?v=4)](https://github.com/easternbloc "easternbloc (4 commits)")[![colinrotherham](https://avatars.githubusercontent.com/u/415517?v=4)](https://github.com/colinrotherham "colinrotherham (4 commits)")[![akre54](https://avatars.githubusercontent.com/u/931368?v=4)](https://github.com/akre54 "akre54 (3 commits)")[![core-system-dev](https://avatars.githubusercontent.com/u/9516938?v=4)](https://github.com/core-system-dev "core-system-dev (3 commits)")[![lookfirst](https://avatars.githubusercontent.com/u/85355?v=4)](https://github.com/lookfirst "lookfirst (3 commits)")[![mattiasrunge](https://avatars.githubusercontent.com/u/1510821?v=4)](https://github.com/mattiasrunge "mattiasrunge (3 commits)")[![svbergerem](https://avatars.githubusercontent.com/u/3798614?v=4)](https://github.com/svbergerem "svbergerem (3 commits)")[![leonard-thieu](https://avatars.githubusercontent.com/u/5265970?v=4)](https://github.com/leonard-thieu "leonard-thieu (2 commits)")[![charlotte-miller](https://avatars.githubusercontent.com/u/646035?v=4)](https://github.com/charlotte-miller "charlotte-miller (2 commits)")[![Morgon](https://avatars.githubusercontent.com/u/879077?v=4)](https://github.com/Morgon "Morgon (2 commits)")

---

Tags

autocompletetypeahead

### Embed Badge

![Health badge](/badges/corejavascript-typeaheadjs/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

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

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[twitter/typeahead.js

fast and fully-featured autocomplete library

16.5k209.7k4](/packages/twitter-typeaheadjs)[jetbrains/phpstorm-stubs

PHP runtime &amp; extensions header files for PhpStorm

1.4k27.7M68](/packages/jetbrains-phpstorm-stubs)[phalcon/ide-stubs

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

1623.1M121](/packages/phalcon-ide-stubs)[bazilio/yii2-stubs-generator

Yii2 component stubs generator for Yii::$app

146720.4k1](/packages/bazilio-yii2-stubs-generator)[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)

PHPackages © 2026

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