PHPackages                             janpetr/algoliasearch-magento2-one-result-redirect - 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. janpetr/algoliasearch-magento2-one-result-redirect

ActiveMagento2-module[Search &amp; Filtering](/categories/search)

janpetr/algoliasearch-magento2-one-result-redirect
==================================================

Magento 2 module to redirect to the product, when there is only one in a results

1.0.0(7y ago)15[1 issues](https://github.com/JanPetr/one-result-redirect/issues)MITPHP

Since Feb 19Pushed 7y agoCompare

[ Source](https://github.com/JanPetr/one-result-redirect)[ Packagist](https://packagist.org/packages/janpetr/algoliasearch-magento2-one-result-redirect)[ RSS](/packages/janpetr-algoliasearch-magento2-one-result-redirect/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Redict To One Product Result plugin for Algolia for Magento 2
=============================================================

[](#redict-to-one-product-result-plugin-for-algolia-for-magento-2)

Magento 2 module to redirect to the product, when there is only one product in a results.

How it works
------------

[](#how-it-works)

This extension adds a [Plugin class](https://github.com/JanPetr/one-result-redirect/blob/master/Plugin/RedirectOnOneResultPlugin.php) ([How Plugins work](https://devdocs.magento.com/guides/v2.3/extension-dev-guide/plugins.html)) to Algolia's back-end search [Adapter class](https://github.com/algolia/algoliasearch-magento-2/blob/master/Adapter/Algolia.php), which checks the number of results returned by Algolia.

If there is only one product returned from Algolia, the extension redirects a user to this returned product.

Installation
------------

[](#installation)

Install the extension with [Composer](https://getcomposer.org/):

```
$ composer require janpetr/algoliasearch-magento2-one-result-redirect
$ php bin/magento module:enable JanPetr_OneResultRedirect
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2685d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/15aff864cbd0e4cbf30a2c8683fd9e20089032230c5c116bf8bd7f3fbdbb714a?d=identicon)[JanPetr](/maintainers/JanPetr)

---

Top Contributors

[![JanPetr](https://avatars.githubusercontent.com/u/1058144?v=4)](https://github.com/JanPetr "JanPetr (3 commits)")

---

Tags

algoliaalgolia-magentomagento2magento2-modulesearch

### Embed Badge

![Health badge](/badges/janpetr-algoliasearch-magento2-one-result-redirect/health.svg)

```
[![Health](https://phpackages.com/badges/janpetr-algoliasearch-magento2-one-result-redirect/health.svg)](https://phpackages.com/packages/janpetr-algoliasearch-magento2-one-result-redirect)
```

###  Alternatives

[ircmaxell/filterus

A library for filtering variables in PHP

44613.4k6](/packages/ircmaxell-filterus)[blackbird/module-hyva-algolia-search

Blackbird\_HyvaAlgoliaSearch makes Algolia\_AlgoliaSearch compatible with Hyvä Themes

1419.5k](/packages/blackbird-module-hyva-algolia-search)[awesome-nova/dependent-filter

Dependent filters for Laravel Nova

26190.2k](/packages/awesome-nova-dependent-filter)

PHPackages © 2026

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