PHPackages                             marco-pm/zencart-instantsearch - 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. [Search &amp; Filtering](/categories/search)
4. /
5. marco-pm/zencart-instantsearch

ActiveLibrary[Search &amp; Filtering](/categories/search)

marco-pm/zencart-instantsearch
==============================

Instant Search plugin for Zen Cart

204[7 issues](https://github.com/marco-pm/zencart_instantsearch/issues)PHP

Since Feb 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/marco-pm/zencart_instantsearch)[ Packagist](https://packagist.org/packages/marco-pm/zencart-instantsearch)[ RSS](/packages/marco-pm-zencart-instantsearch/feed)WikiDiscussions main Synced 1mo ago

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

Instant Search plugin 4.0 for Zen Cart 1.5.7 and 1.5.8
======================================================

[](#instant-search-plugin-40-for-zen-cart-157-and-158)

Show autocomplete search results while the user is typing. Show relevant search results in a listing page with infinite scroll.

Features
========

[](#features)

This plugin uses a combination of MySQL Full-Text Search and LIKE/REGEXP queries to quickly find and sort products, brands, and categories based on their relevance to the user query.

With the [Typesense add-on](https://github.com/marco-pm/zencart_typesense), Typesense can be used as a search engine in place of MySQL.

The results can be displayed in an autocomplete dropdown as the user types in a search box and/or as a search results page with a sortable product list and infinite scroll once the user submits the search form, providing an alternative to the classic Zen Cart search results page.

Version 4.0 of the plugin brings new and improved features:

- Refactor of the search class to allow the use of different search engines (with automatic fallback to MySQL if the search engine is unavailable)
- Support for using Typesense as a search engine (with the [Typesense add-on](https://github.com/marco-pm/zencart_typesense))
- Improved display of categories and brands in the dropdown
- Search in the product category and brand
- Complete rewrite of the JavaScript code of dropdown and results page with React and TypeScript
- Improved dropdown accessibility and keyboard navigation
- Various bug fixes and improvements

These add to the features and improvements of version 3.0:

- Faster and better searches, with MySQL Full-Text search and Query Expansion
- New, additional search results page with sortable product list and infinite scroll
- New admin settings, including control of which product fields to search and their order
- More robust dropdown auto-positioning
- Support for Zen Cart 1.5.8 language files and plugin upgrade functionality
- Integration with Search Log plugin
- Responsive Classic and Bootstrap template files included
- Code almost entirely rewritten, removed jQuery dependency, and many other improvements

There are no modifications to Zen Cart core files.

Prerequisites
=============

[](#prerequisites)

- Zen Cart 1.5.7 or 1.5.8
- PHP 7.4 through 8.2

Installation, use and FAQs
==========================

[](#installation-use-and-faqs)

See the [readme.html](https://htmlpreview.github.io/?https://github.com/marco-pm/zencart_instantsearch/blob/main/readme.html).

Troubleshooting
===============

[](#troubleshooting)

[Zen Cart Forum Support Thread](https://www.zen-cart.com/showthread.php?189289-Instant-Search)

See also the FAQS &amp; troubleshooting section in the [readme.html](https://htmlpreview.github.io/?https://github.com/marco-pm/zencart_instantsearch/blob/main/readme.html).

Development
===========

[](#development)

To build the `.js` files from the `.tsx` sources, install Node.js and NPM, then run:

```
npm install

# dropdown:
npm run build-instant_search_dropdown

# results page:
npm run build-instant_search_results

```

Testing
=======

[](#testing)

Unit and integration tests use the [Test Framework](https://docs.zen-cart.com/dev/testframework/) of Zen Cart 1.5.8. Place the content of the `tests` directory of this repo under `/not_for_release/testFramework`.

Run the tests with:

```
php phpunit --configuration phpunit_instantsearch.xml

```

###  Health Score

11

—

LowBetter than 0% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![marco-pm](https://avatars.githubusercontent.com/u/53403229?v=4)](https://github.com/marco-pm "marco-pm (165 commits)")[![torvista](https://avatars.githubusercontent.com/u/4391026?v=4)](https://github.com/torvista "torvista (5 commits)")[![proseLA](https://avatars.githubusercontent.com/u/1095136?v=4)](https://github.com/proseLA "proseLA (3 commits)")[![dbltoe](https://avatars.githubusercontent.com/u/5122886?v=4)](https://github.com/dbltoe "dbltoe (1 commits)")

### Embed Badge

![Health badge](/badges/marco-pm-zencart-instantsearch/health.svg)

```
[![Health](https://phpackages.com/badges/marco-pm-zencart-instantsearch/health.svg)](https://phpackages.com/packages/marco-pm-zencart-instantsearch)
```

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M203](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[massive/search-bundle

Massive Search Bundle

721.4M13](/packages/massive-search-bundle)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)[handcraftedinthealps/zendsearch

a general purpose text search engine written entirely in PHP 5

39921.0k35](/packages/handcraftedinthealps-zendsearch)

PHPackages © 2026

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