PHPackages                             rap2hpoutre/remove-stop-words - 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. rap2hpoutre/remove-stop-words

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rap2hpoutre/remove-stop-words
=============================

Remove stop words from a string

v0.3.0(6y ago)1528.3k↓50%12[1 PRs](https://github.com/rap2hpoutre/remove-stop-words/pulls)MITPHPPHP ^7.0

Since Mar 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rap2hpoutre/remove-stop-words)[ Packagist](https://packagist.org/packages/rap2hpoutre/remove-stop-words)[ RSS](/packages/rap2hpoutre-remove-stop-words/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

Remove stop words
=================

[](#remove-stop-words)

[![Packagist](https://camo.githubusercontent.com/2fe5a00ff30f596ba6e90d9e526f33a834c39f038e0953b89ef0d81774278913/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7261703268706f757472652f72656d6f76652d73746f702d776f7264732e737667)](https://packagist.org/packages/rap2hpoutre/remove-stop-words)[![Build Status](https://camo.githubusercontent.com/562b0527a9a84cd5e493bfbb4ee78cfea8faf1d4ebcb7b4d1fd9f0db882ff78a/68747470733a2f2f7472617669732d63692e6f72672f7261703268706f757472652f72656d6f76652d73746f702d776f7264732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rap2hpoutre/remove-stop-words)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7375cbb305289afe5563d52f43bed59f3e90aa1026862bbf1cec8d55466d0e21/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7261703268706f757472652f72656d6f76652d73746f702d776f7264732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rap2hpoutre/remove-stop-words/?branch=master)

Remove stop words from a string. It currently works in French, Spanish and English. Feel free to submit a Pull Request if you want to include your language.

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

[](#installation)

```
composer require rap2hpoutre/remove-stop-words
```

Usage
-----

[](#usage)

Just call the `remove_stop_words` function with a string.

```
use function Rap2hpoutre\RemoveStopWords\remove_stop_words;

echo remove_stop_words('The quick brown fox jumps over the lazy dog');
// quick brown fox jumps   lazy dog
```

You can provide a locale as a second argument:

```
use function Rap2hpoutre\RemoveStopWords\remove_stop_words;

echo remove_stop_words('Portez ce vieux whisky au juge blond qui fume', 'fr');
// Portez  vieux whisky  juge blond  fume
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

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

Every ~129 days

Recently: every ~162 days

Total

6

Last Release

2337d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/849c3b70e82874c89e079738e4879e0eabb71d1a73f53e81b88c39a9b40f32ae?d=identicon)[rap2hpoutre](/maintainers/rap2hpoutre)

---

Top Contributors

[![rap2hpoutre](https://avatars.githubusercontent.com/u/1575946?v=4)](https://github.com/rap2hpoutre "rap2hpoutre (10 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (2 commits)")[![elminson](https://avatars.githubusercontent.com/u/2476286?v=4)](https://github.com/elminson "elminson (1 commits)")[![julesdruguet](https://avatars.githubusercontent.com/u/27284564?v=4)](https://github.com/julesdruguet "julesdruguet (1 commits)")[![TeslaX93](https://avatars.githubusercontent.com/u/17146933?v=4)](https://github.com/TeslaX93 "TeslaX93 (1 commits)")

---

Tags

composerlibrarypackagepackagistphpphp-libraryphp7

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rap2hpoutre-remove-stop-words/health.svg)

```
[![Health](https://phpackages.com/badges/rap2hpoutre-remove-stop-words/health.svg)](https://phpackages.com/packages/rap2hpoutre-remove-stop-words)
```

PHPackages © 2026

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