Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

algoliasearch-magento-2

> AI 编程
Open source

Algolia Search integration for Magento 2 - compatible with versions from 2.3.x to 2.4.x

189 stars0 likes3 views
WebsiteGitHub

About

Algolia Search integration for Magento 2 - compatible with versions from 2.3.x to 2.4.x

Algolia Search & Discovery extension for Magento 2


Features

The Algolia extension replaces the default search in Magento Open Source and Adobe Commerce with a robust autocomplete search menu and Instantsearch results page.

This extension replaces the default search of Magento with a typo-tolerant, fast & relevant search experience backed by Algolia. It's based on algoliasearch-client-php, autocomplete.js and instantsearch.js.

  • Autocompletion menu: Provide your entire catalog to End-Users instantly via the dropdown menu, regardless of the number of categories or attributes it contains.

  • Instantsearch results page: Have your search results page, navigation and pagination updated in realtime, after each keystroke.

  • Recommend: Algolia Recommend lets you display recommendations such as "Frequently Bought Together" and "Related Products" features on the product detail page.

Learn more at our official website Adobe Commerce / Magento

Demo

Try the Autocomplete and the InstantSearch results page on our live demo.

Magento 2.4 compatibility & extension versions End of Life

Magento 2.3 and earlier versions are no longer supported by the Algolia extension.

Version 3.x of our extension is compatible with Magento 2.4. Review the Customisation section to learn more about the differences between our extension versions.

Extension versions support

We support the two latest minor versions of our extension (see "Extension Version" column in the compatibility matrix below) :

  • The 2 latest minor versions are maintained with security and critical bug fixes.
  • The latest minor version is maintained with "general" bug fixes as well.

Magento versions support

We support the 2 or 3 latest patch versions of Magento depending on releases overlap (see matrix below):

Extension Version End of Life Magento PHP
~3.7.0 10/10/2023 ~2.3.7||~2.4.5||~2.4.6 ~7.3.0||~7.4.0||~8.1.0||~8.2.0
~3.8.0 3/8/2023 ~2.4.5||~2.4.6 ~7.4.0||~8.1.0||~8.2.0
~3.9.0 10/13/2023 ~2.4.5||~2.4.6 ~7.4.0||~8.1.0||~8.2.0
~3.10.0 12/12/2023 ~2.4.6 ~8.1.0||~8.2.0
~3.11.0 1/26/2024 ~2.4.6 ~8.1.0||~8.2.0
~3.12.0 8/2/2024 ~2.4.6 ~8.1.0||~8.2.0
~3.13.0 4/9/2025 ~2.4.6 ~8.1.0||~8.2.0
~3.14.0 9/1/2025 ~2.4.6||~2.4.7 ~8.1.0||~8.2.0||~8.3.0
~3.15.0 12/1/2025 ~2.4.6||~2.4.7 ~8.1.0||~8.2.0||~8.3.0
~3.16.0 5/15/2026 ~2.4.7||~2.4.8 ~8.2.0||~8.3.0||~8.4.0
~3.17.0 9/1/2026 ~2.4.7||~2.4.8 ~8.2.0||~8.3.0||~8.4.0
3.18.0 N/A ~2.4.7||~2.4.8 ~8.2.0||~8.3.0||~8.4.0
~3.18.1 N/A ~2.4.7||~2.4.8||~2.4.9 ~8.2.0||~8.3.0||~8.4.0||~8.5.0
~3.19.0 N/A ~2.4.8||~2.4.9 ~8.3.0||~8.4.0||~8.5.0

Documentation

  • Quick-Start and Installation
  • General FAQs
  • Technical Troubleshooting Guide
  • Indexing Queue
  • Frontend Custom Events
  • Dispatched Backend Events

Installation

The easiest way to install the extension is to use Composer and follow our getting started guide.

If you would like to stay on a minor version, please upgrade your composer to only accept minor versions. The following example will keep you on the minor version and will update patches automatically.

"algolia/algoliasearch-magento-2": "~3.19.0"

Customisation

The extension uses libraries to help assist with the frontend implementation for autocomplete, instantsearch, and insight features. It also uses the Algolia PHP client to leverage indexing and search methods from the backend. When you approach customisations for either, you have to understand that you are customising the implementation itself and not the components it is based on.

These libraries are here to help add to your customisation but because the extension has already initialised these components, you should use hooks into the area between the extension and the libraries. Please check our Custom Extension for reference.

Frontend JavaScript libraries

As of 3.15.x the JavaScript bundle algoliaBundle has been removed as a hard dependency for the Magento extension and will be removed entirely in the next minor release. Libraries can now be swapped independently and loaded via RequireJS.

Knowing the version of each Algolia JavaScript library will help you understand what is available for you to leverage in terms of customisation. This table will help you determine which documentation to reference when you start working on your customisation.

Extension Version autocomplete.js instantsearch.js search-insights.js recommend-js.js
3.x 0.38.0* 4.15.0* 1.7.1 N/A
3.9.1 1.6.3* 4.41.0* 1.7.1 1.5.0
3.10.x 1.6.3* 4.41.0* 1.7.1 1.8.0
3.11.0 1.6.3* 4.41.0* 2.6.0 1.8.0
3.13.0 1.6.3* 4.63.0* 2.11.0 1.8.0
3.14.x 1.6.3* 4.63.0* 2.11.0 1.15.0
3.15.x 1.17.9 4.77.0 2.17.3 1.16.0
3.16.x 1.18.1 4.78.0 2.17.3 1.16.0
>=3.19.x 1.19.9 4.106.0 2.17.3 N/A†

* Prior to 3.15.x, the Autocomplete and InstantSearch libraries were accessible via the algoliaBundle global. This bundle was a prepackaged JavaScript file that contained dependencies for the frontend experience. What was included in this bundle can be seen here: https://github.com/algolia/algoliasearch-extensions-bundle/blob/ISv4/package.json

† As of 3.19.x the standalone recommend-js library has been retired. The Recommend surfaces (Frequently Bought Together, Related Products, Trending Items, Looking Similar) are now rendered by the instantsearch.js recommend widgets running on the v5 lite client. Customize them through the InstantSearch templates rather than the recommend-js API.

Refer to these docs when customising your Algolia Magento extension frontend features:

  • Autocomplete
  • Instantsearch
  • Frontend Custom Events

JavaScript bundling

Libraries should be fully compatible with standard JavaScript bundling. If using "advanced bundling" via the RequireJS optimizer it will be necessary to first apply the Babel transpiler to the underlying source code.

A sample transpiler configuration (.babelrc) might look as follows:

json
{
    "presets": [
        [
            "@babel/preset-env",
            {
                "exclude": ["@babel/plugin-transform-template-literals"]
            }
        ],
        ["minify", { "builtIns": false, "mangle": false }]
    ],
    "comments": false
}

The Algolia PHP API Client

The extension does most of the heavy lifting when it comes to gathering and preparing the data needed for indexing to Algolia. In terms of interacting

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPalgoliaalgolia-searchmagento-algoliasearchmagento2

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.