Laravel autocomplete search with typeahead.js

Full Article :

KernalDev - https://www.kerneldev.com/2018/02/07/laravel-autocomplete-search-with-typeahead-js/

Search autocompletion is a must-have feature for most web applications of today and I have used the Twitter’s typeahead.js autocomplete library in many of the Laravel based projects I have worked on. typeahead.js provides a simple yet robust solution for search autocompletion and it comes coupled with an excellent suggestion engine called Bloodhound.

The typeahead.js library consists of two parts:

Bloodhound – The suggestion engine, is responsible for computing suggestions and offers advanced functionalities such as prefetching, intelligent caching, fast lookups, and backfilling with remote data. Typeahead – The User Interface, using which you can display the search results and

Leave a Comment

%d bloggers like this: