PHPackages                             yireo/magento2-remove-search - 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. yireo/magento2-remove-search

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

yireo/magento2-remove-search
============================

N/A

142792[1 PRs](https://github.com/yireo/Yireo_RemoveSearch/pulls)PHP

Since May 7Pushed 3y ago2 watchersCompare

[ Source](https://github.com/yireo/Yireo_RemoveSearch)[ Packagist](https://packagist.org/packages/yireo/magento2-remove-search)[ RSS](/packages/yireo-magento2-remove-search/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Yireo\_RemoveSearch
===================

[](#yireo_removesearch)

**DEPRECATED: This module is deprecated in favor of  if you still need a search and in favor of  if you do not need any searcht at all.**

A module that removes both MySQL and ElasticSearch from Magento. This is experimental and might not be perfect. Note that this module is supposed to *hack* things in your Magento site. If you are experiencing problems, feel free to open up an **Issue** on GitHub. But please take note that this module is something built for experienced developers, it takes a developers mind to properly troubleshoot things.

Installation via composer
-------------------------

[](#installation-via-composer)

Installation of this module by copying things to `app/code` will **not** work: The composer `replace` will not be applied and the original namespaces `Magento\Search` and `Magento\CatalogSearch` will not be remapped to this extension. It does not work. Use composer instead.

Instead, copy the extension to some kind of other folder in your Magento root, like `package-source`, and use this folder as a composer repository:

```
mkdir package-source/
cd package-source/
git clone git@github.com:yireo/Yireo_RemoveSearch.git
cd -
composer config repositories.yireo-removesearch path package-source/Yireo_RemoveSearch

```

First, register this module in your `composer.json` file:

```
composer require yireo/magento2-remove-search --no-update

```

Next, open up the `composer.json` file and add the following manually to your configuration:

```
"replace": {
    "magento/module-advanced-search": "*",
    "magento/module-catalog-search": "*",
    "magento/module-elasticsearch": "*",
    "magento/module-elasticsearch-6": "*",
    "magento/module-elasticsearch-7": "*",
    "magento/module-inventory-catalog-search": "*",
    "magento/module-inventory-elasticsearch": "*",
    "magento/module-search": "*",
    "elasticsearch/elasticsearch": "*"
}

```

Next, run:

```
composer update

```

Unforunately, this might work or it might not. If this fails, do the following (and beware of its consequences):

```
rm -r vendor/ composer.lock
composer install

```

Please note that a simple `composer require yireo/magento2-remove-search` will not work. Please also note that removing the `vendor/` and `composer.lock` might not be best practices, but this is the only known workaround to get the composer `replace` trick working. If you don't like it, because it does not comply to standard procedures, don't use this solution.

After this, make sure to enable the module:

```
bin/magento module:enable Yireo_RemoveSearch
rm -r generated/
bin/magento cache:flush

```

Make sure your cache is properly wiped. Or wipe your Magento cache folder (`rm -r var/cache`). Or wipe Redis (`redis-cli flushall`). Or something.

Testing if it works
-------------------

[](#testing-if-it-works)

To test if things are working, make sure to play around with the following commands - they should just happen with PHP Fatal Errors:

```
bin/magento setup:upgrade
bin/magento setup:di:compile

```

Additionally:

- `composer show | grep -i search` should output some packages, but no longer the Magento 2 modules for search

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 94.1% 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://avatars.githubusercontent.com/u/1373981?v=4)[Yireo](/maintainers/yireo)[@yireo](https://github.com/yireo)

---

Top Contributors

[![jissereitsma](https://avatars.githubusercontent.com/u/7670482?v=4)](https://github.com/jissereitsma "jissereitsma (16 commits)")[![sprankhub](https://avatars.githubusercontent.com/u/930199?v=4)](https://github.com/sprankhub "sprankhub (1 commits)")

### Embed Badge

![Health badge](/badges/yireo-magento2-remove-search/health.svg)

```
[![Health](https://phpackages.com/badges/yireo-magento2-remove-search/health.svg)](https://phpackages.com/packages/yireo-magento2-remove-search)
```

###  Alternatives

[netgen/query-translator

Query Translator is a search query translator with AST representation

2062.1M9](/packages/netgen-query-translator)[fran6co/phptrie

PHP Trie implementation

3418.9k](/packages/fran6co-phptrie)[imarc/google-site-search

A PHP Interface to the Google Custom Search API

3011.6k](/packages/imarc-google-site-search)[dialekt/dialekt

A boolean expression DSL.

173.8k](/packages/dialekt-dialekt)

PHPackages © 2026

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