PHPackages                             humanmade/elasticpress-stopwords - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. humanmade/elasticpress-stopwords

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

humanmade/elasticpress-stopwords
================================

WordPress plugin to integrate WordPress stopwords with ElasticPress mapping.

43.4k[1 issues](https://github.com/humanmade/elasticpress-stopwords/issues)PHP

Since Jan 22Pushed 5y ago18 watchersCompare

[ Source](https://github.com/humanmade/elasticpress-stopwords)[ Packagist](https://packagist.org/packages/humanmade/elasticpress-stopwords)[ RSS](/packages/humanmade-elasticpress-stopwords/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

   **ElasticPress Stopwords**
 Integrates WordPress stopwords and filters with ElasticPress mapping.   [![](https://camo.githubusercontent.com/21ddd8db8af0243ccabd437a33ded6e2da1e9777d1b4d75f30ab9ac80803c90a/68747470733a2f2f686d6e2e6d642f636f6e74656e742f7468656d65732f686d6e6d642f6173736574732f696d616765732f686d2d6c6f676f2e737667)](https://camo.githubusercontent.com/21ddd8db8af0243ccabd437a33ded6e2da1e9777d1b4d75f30ab9ac80803c90a/68747470733a2f2f686d6e2e6d642f636f6e74656e742f7468656d65732f686d6e6d642f6173736574732f696d616765732f686d2d6c6f676f2e737667)     A Human Made project  ElasticPress stopwords allows developers to customize stopwords functionality of Elastic through linking ElasticPress mapping with WordPress default stopwords list and using related filter `wp_search_stopwords`.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.1
- WordPress &gt;= 5.3
- ElasticPress &gt;= 3.4.3 (not tested with older versions)

Getting Set Up
--------------

[](#getting-set-up)

### Install Using Composer

[](#install-using-composer)

```
composer require humanmade/elasticpress-stopwords

```

Load the plugin

```
require_once __DIR__ . '/vendor/humanmmade/elastic-stopwords/plugin.php';
```

---

Once you've installed the plugin, use the following code to manage stopwords:

```
add_filter( 'wp_search_stopwords', function( array $stopwords ) : array {
    $words_to_remove = [ 'foo' ];
    $words_to_add    = [ 'bar' ];
    return array_merge( array_diff( $stopwords, $words_to_remove ), $words_to_add );
} );
```

Credits
-------

[](#credits)

Created by Human Made with ❤️

Written and maintained by [Shady Sharaf](https://github.com/shadyvb).

Interested in joining in on the fun? [Join us, and become human!](https://hmn.md/is/hiring/)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![shadyvb](https://avatars.githubusercontent.com/u/451892?v=4)](https://github.com/shadyvb "shadyvb (2 commits)")

### Embed Badge

![Health badge](/badges/humanmade-elasticpress-stopwords/health.svg)

```
[![Health](https://phpackages.com/badges/humanmade-elasticpress-stopwords/health.svg)](https://phpackages.com/packages/humanmade-elasticpress-stopwords)
```

###  Alternatives

[cjmellor/level-up

This package allows users to gain experience points (XP) and progress through levels by performing actions on your site. It can provide a simple way to track user progress and implement gamification elements into your application

66188.9k](/packages/cjmellor-level-up)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[trafficcophp/bytebuffer

Node.js inspired byte stream buffer for PHP.

33437.2k17](/packages/trafficcophp-bytebuffer)

PHPackages © 2026

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