{"id":13734295,"url":"https://github.com/algolia/algoliasearch-magento-2","last_synced_at":"2025-06-19T15:42:04.284Z","repository":{"id":6188808,"uuid":"54131069","full_name":"algolia/algoliasearch-magento-2","owner":"algolia","description":"Algolia Search integration for Magento 2 - compatible with versions from 2.3.x to 2.4.x","archived":false,"fork":false,"pushed_at":"2025-06-17T14:01:49.000Z","size":21394,"stargazers_count":181,"open_issues_count":9,"forks_count":170,"subscribers_count":78,"default_branch":"main","last_synced_at":"2025-06-17T15:20:21.054Z","etag":null,"topics":["algolia","algolia-search","magento-algoliasearch","magento2","magento2-extension","php","search"],"latest_commit_sha":null,"homepage":"https://www.algolia.com/solutions/magento/","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/algolia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-03-17T15:48:56.000Z","updated_at":"2025-06-07T18:13:36.000Z","dependencies_parsed_at":"2023-01-14T11:45:52.460Z","dependency_job_id":"ab4fe645-8355-4a7a-80bb-d5ee09f4d9fe","html_url":"https://github.com/algolia/algoliasearch-magento-2","commit_stats":{"total_commits":1028,"total_committers":68,"mean_commits":"15.117647058823529","dds":0.7324902723735409,"last_synced_commit":"7326355f87820c587a892766a6bf18613e3a26f0"},"previous_names":[],"tags_count":120,"template":false,"template_full_name":null,"purl":"pkg:github/algolia/algoliasearch-magento-2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-magento-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-magento-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-magento-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-magento-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/algolia","download_url":"https://codeload.github.com/algolia/algoliasearch-magento-2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-magento-2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260781347,"owners_count":23062220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algolia","algolia-search","magento-algoliasearch","magento2","magento2-extension","php","search"],"created_at":"2024-08-03T03:00:54.364Z","updated_at":"2025-06-19T15:41:59.269Z","avatar_url":"https://github.com/algolia.png","language":"PHP","funding_links":[],"categories":["Open Source Extensions","PHP","Modules"],"sub_categories":["Search"],"readme":"Algolia Search \u0026 Discovery extension for Magento 2\n==================================================\n\n![Latest version](https://img.shields.io/badge/latest-3.15.0-green)\n![Magento 2](https://img.shields.io/badge/Magento-2.4.6+-orange)\n\n![PHP](https://img.shields.io/badge/PHP-8.1%2C8.2%2C8.3-blue)\n\n[![CircleCI](https://circleci.com/gh/algolia/algoliasearch-magento-2/tree/master.svg?style=svg)](https://circleci.com/gh/algolia/algoliasearch-magento-2/tree/master)\n\n-------\n\n## Features\n\nThe Algolia extension replaces the default search in Magento Open Source and Adobe Commerce with a robust autocomplete search menu and Instantsearch results page.\n\nThis extension replaces the default search of Magento with a typo-tolerant, fast \u0026 relevant search experience backed by Algolia. It's based on [algoliasearch-client-php](https://github.com/algolia/algoliasearch-client-php), [autocomplete.js](https://github.com/algolia/autocomplete.js) and [instantsearch.js](https://github.com/algolia/instantsearch.js).\n\n- **Autocompletion menu:** Provide your entire catalog to End-Users instantly via the dropdown menu, regardless of the number of categories or attributes it contains.\n\n- **Instantsearch results page:** Have your search results page, navigation and pagination updated in realtime, after each keystroke.\n\n- **Recommend:** Algolia Recommend lets you display recommendations such as \"Frequently Bought Together\" and \"Related Products\" features on the product detail page.\n\nLearn more at our [official website Adobe Commerce / Magento](https://www.algolia.com/search-solutions/adobe-commerce-magento/)\n\n### Demo\n\nTry the Autocomplete and the InstantSearch results page on our [live demo](https://flagship-magento.algolia.com).\n\n\n## Magento 2.4 compatibility \u0026 extension versions End of Life\n\nMagento 2.3 and earlier versions are no longer supported by the Algolia extension.\n\nVersion 3.x of our extension is compatible with Magento 2.4. Review the [Customisation](https://github.com/algolia/algoliasearch-magento-2#customisation) section to learn more about the differences between our extension versions.\n\n| Extension Version | End of Life | Magento                      | PHP                                    |\n|-------------------|-------------|------------------------------|----------------------------------------|\n| v3.7.x            | 10/10/2023  | `~2.3.7\\|\\|~2.4.5\\|\\|~2.4.6` | `~7.3.0\\|\\|~7.4.0\\|\\|~8.1.0\\|\\|~8.2.0` |\n| v3.8.x            | 3/8/2023    | `~2.4.5\\|\\|~2.4.6`           | `~7.4.0\\|\\|~8.1.0\\|\\|~8.2.0`           |\n| v3.9.x            | 10/13/2023  | `~2.4.5\\|\\|~2.4.6`           | `~7.4.0\\|\\|~8.1.0\\|\\|~8.2.0`           |\n| v3.10.x           | 12/12/2023  | `~2.4.6`                     | `~8.1.0\\|\\|~8.2.0`                     |\n| v3.11.x           | 1/26/2024   | `~2.4.6`                     | `~8.1.0\\|\\|~8.2.0`                     |\n| v3.12.x           | 8/2/2024    | `~2.4.6`                     | `~8.1.0\\|\\|~8.2.0`                     |\n| v3.13.x           | N/A         | `~2.4.6`                     | `~8.1.0\\|\\|~8.2.0`                     |\n| v3.14.x           | N/A         | `~2.4.6\\|\\|~2.4.7`           | `~8.1.0\\|\\|~8.2.0\\|\\|~8.3.0`           |\n| v3.15.x           | N/A         | `~2.4.6\\|\\|~2.4.7`           | `~8.1.0\\|\\|~8.2.0\\|\\|~8.3.0`           |\n\n## Documentation\n\n- [Quick-Start and Installation](https://www.algolia.com/doc/integration/magento-2/getting-started/quick-start/)\n- [General FAQs](https://www.algolia.com/doc/integration/magento-2/troubleshooting/general-faq/)\n- [Technical Troubleshooting Guide](https://www.algolia.com/doc/integration/magento-2/troubleshooting/technical-troubleshooting/)\n- [Indexing Queue](https://www.algolia.com/doc/integration/magento-2/how-it-works/indexing-queue/)\n- [Frontend Custom Events](https://www.algolia.com/doc/integration/magento-2/customize/custom-front-end-events/)\n- [Dispatched Backend Events](https://www.algolia.com/doc/integration/magento-2/customize/custom-back-end-events/)\n\n\n### Installation\n\nThe easiest way to install the extension is to use [Composer](https://getcomposer.org/) and follow our [getting started guide](https://www.algolia.com/doc/integration/magento-2/getting-started/quick-start/).\n\nIf 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.\n\n`\"algolia/algoliasearch-magento-2\": \"~3.15.0\"`\n\n### Customisation\n\nThe 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.\n\nThese 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.\nPlease check our [Custom Extension](https://github.com/algolia/algoliasearch-custom-algolia-magento-2) for refrence \n\n### Frontend JavaScript libraries\n\n\u003e As of v3.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.  \n\nKnowing 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.\n\n| Extension Version | \tautocomplete.js                                                   | instantsearch.js                                                                   | search-insights.js                                                   | recommend-js.js                                             |\n|-----------------|--------------------------------------------------------------------|------------------------------------------------------------------------------------|----------------------------------------------------------------------|-------------------------------------------------------------|\n| v3.x            | [0.38.0](https://github.com/algolia/autocomplete.js/tree/v0.38.0)* | [4.15.0](https://github.com/algolia/instantsearch.js/tree/v4.15.0)*                | [1.7.1](https://github.com/algolia/search-insights.js/tree/v1.7.1)   | NA                                                          |\n| v3.9.1          | [1.6.3](https://github.com/algolia/autocomplete.js/tree/v1.6.3)*   | [4.41.0](https://github.com/algolia/instantsearch.js/tree/v4.41.0)*                | [1.7.1](https://github.com/algolia/search-insights.js/tree/v1.7.1)   | [1.5.0](https://github.com/algolia/recommend/tree/v1.5.0)   |\n| v3.10.x         | [1.6.3](https://github.com/algolia/autocomplete.js/tree/v1.6.3)*   | [4.41.0](https://github.com/algolia/instantsearch.js/tree/v4.41.0)*                | [1.7.1](https://github.com/algolia/search-insights.js/tree/v1.7.1)   | [1.8.0](https://github.com/algolia/recommend/tree/v1.8.0)   |\n| v3.11.0         | [1.6.3](https://github.com/algolia/autocomplete.js/tree/v1.6.3)*   | [4.41.0](https://github.com/algolia/instantsearch.js/tree/v4.41.0)*                | [2.6.0](https://github.com/algolia/search-insights.js/tree/v2.6.0)   | [1.8.0](https://github.com/algolia/recommend/tree/v1.8.0)   |\n| v3.13.0         | [1.6.3](https://github.com/algolia/autocomplete.js/tree/v1.6.3)*   | [4.63.0](https://github.com/algolia/instantsearch/tree/instantsearch.js%404.63.0)* | [2.11.0](https://github.com/algolia/search-insights.js/tree/v2.11.0) | [1.8.0](https://github.com/algolia/recommend/tree/v1.8.0)   |\n| v3.14.x         | [1.6.3](https://github.com/algolia/autocomplete.js/tree/v1.6.3)*   | [4.63.0](https://github.com/algolia/instantsearch/tree/instantsearch.js%404.63.0)* | [2.11.0](https://github.com/algolia/search-insights.js/tree/v2.11.0) | [1.15.0](https://github.com/algolia/recommend/tree/v1.15.0) |\n| v3.15.x         | [1.17.9](https://github.com/algolia/autocomplete.js/tree/v1.17.9)  | [4.77.0](https://github.com/algolia/instantsearch/tree/instantsearch.js%404.77.0)  | [2.17.3](https://github.com/algolia/search-insights.js/tree/v2.17.3) | [1.16.0](https://github.com/algolia/recommend/tree/v1.16.0) |\n\n\u0026ast; In earlier versions of the extension, 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\n\nRefer to these docs when customising your Algolia Magento extension frontend features:\n - [Autocomplete](https://www.algolia.com/doc/integration/magento-2/customize/autocomplete-menu/)\n - [Instantsearch](https://www.algolia.com/doc/integration/magento-2/customize/instant-search-page/)\n - [Frontend Custom Events](https://www.algolia.com/doc/integration/magento-2/customize/custom-front-end-events/)\n\n### JavaScript bundling\n\nLibraries should be fully compatible with [standard JavaScript bundling](https://developer.adobe.com/commerce/frontend-core/guide/themes/js-bundling/). If using [\"advanced bundling\"](https://experienceleague.adobe.com/en/docs/commerce-operations/performance-best-practices/performance-best-practices/advanced-js-bundling) via the [RequireJS optimizer](https://requirejs.org/docs/optimization.html) it will be necessary to first apply the Babel transpiler to the underlying source code.\n\nA sample transpiler configuration (`.babelrc`) might look as follows:  \n\n```json\n{\n    \"presets\": [\n        [\n            \"@babel/preset-env\",\n            {\n                \"exclude\": [\"@babel/plugin-transform-template-literals\"]\n            }\n        ],\n        [\"minify\", { \"builtIns\": false, \"mangle\": false }]\n    ],\n    \"comments\": false\n}\n```\n\n\n### The Algolia PHP API Client\n\nThe 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 with the Algolia Search API, the extension leverages the PHP API Client for backend methods including indexing, configuration, and search queries.\n\nDepending on the extension version you are using, you could have a different PHP API client version powering the extension's backend functionality.\n\n| Extension Version | API Client Version                                                      |\n|-------------------|-------------------------------------------------------------------------|\n| v3.x              | [2.5.1](https://github.com/algolia/algoliasearch-client-php/tree/2.5.1) |\n| v3.6.x            | [3.2.0](https://github.com/algolia/algoliasearch-client-php/tree/3.2.0) |\n| v3.11.0          | [3.3.2](https://github.com/algolia/algoliasearch-client-php/tree/3.3.2) |          \n| \u003e=v3.14.x         | [4.0.x](https://github.com/algolia/algoliasearch-client-php/tree/4.0.0-beta.12)                                                               |\n\nRefer to these docs when customising your Algolia Magento extension backend:\n- [Indexing](https://www.algolia.com/doc/integration/magento-2/how-it-works/indexing/)\n- [Dispatched Backend Events](https://www.algolia.com/doc/integration/magento-2/customize/custom-back-end-events/)\n\n## Support\n\nFor feedback, bug reporting, or unresolved issues with the extension, please visit our [Support Center](https://support.algolia.com/hc/en-us/) where you can search the knowldge base and contact the Support team. Please include your Magento version, extension version, application ID, and steps to reproducing your issue. Add additional information like screenshots, screencasts, and error messages to help our team better troubleshoot your issues.\n\n## Contributing\n\nTo start contributing to the extension follow the [contributing guildelines](.github/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgolia%2Falgoliasearch-magento-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falgolia%2Falgoliasearch-magento-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgolia%2Falgoliasearch-magento-2/lists"}