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

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

axisofstevil/stop-words
=======================

A library for managing and filtering text with stop words

1.0.0(3y ago)8128.5k↓40.5%2[1 PRs](https://github.com/axisofstevil/stop-words/pulls)MITPHPPHP ^8.0

Since Dec 29Pushed 2y ago2 watchersCompare

[ Source](https://github.com/axisofstevil/stop-words)[ Packagist](https://packagist.org/packages/axisofstevil/stop-words)[ Docs](https://github.com/axisofstevil/stop-words)[ GitHub Sponsors](https://github.com/stevenmaguire)[ RSS](/packages/axisofstevil-stop-words/feed)WikiDiscussions main Synced 1mo ago

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

A library for managing and filtering text with stop words
=========================================================

[](#a-library-for-managing-and-filtering-text-with-stop-words)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2c2836dc1228d306a292f9821a86a91250f2c61e59a0e38226a8bcbf91ea88b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617869736f6673746576696c2f73746f702d776f7264732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/axisofstevil/stop-words)[![Tests](https://github.com/axisofstevil/stop-words/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/axisofstevil/stop-words/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/62477f617eb42ce5a370d81a982c590e7509b5b524475ed9e34d39df238fa5a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617869736f6673746576696c2f73746f702d776f7264732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/axisofstevil/stop-words)

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

[](#installation)

You can install the package via composer:

```
composer require axisofstevil/stop-words
```

Usage
-----

[](#usage)

```
$filter = new Axisofstevil\StopWords\Filter();
echo $filter->cleanText('A Walk to Remember'); // 'Walk Remember'

$filter->setWords(array('a','walk','to'));
echo $filter->cleanText('A Walk to Remember'); // 'Remember'

$filter->mergeWords(array('remember'));
echo $filter->cleanText('A Walk to Remember'); // ''
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Steven Maguire](https://github.com/stevenmaguire)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~2787 days

Total

2

Last Release

1371d ago

Major Versions

0.1.0 → 1.0.02022-08-17

PHP version history (2 changes)0.1.0PHP &gt;=5.3.0

1.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d9c05a30823ae19fc54aa4b4721a696c253f8dec10c7fd22d372cfdc0fcb36d?d=identicon)[stevenmaguire](/maintainers/stevenmaguire)

---

Top Contributors

[![stevenmaguire](https://avatars.githubusercontent.com/u/1851973?v=4)](https://github.com/stevenmaguire "stevenmaguire (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")[![mcgrogan91](https://avatars.githubusercontent.com/u/3495617?v=4)](https://github.com/mcgrogan91 "mcgrogan91 (1 commits)")

---

Tags

filteringstop words

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[voku/stop-words

Stop-Words via PHP

9010.6M10](/packages/voku-stop-words)[gbrock/laravel-table

Table functionality for Laravel models

7644.3k](/packages/gbrock-laravel-table)[juanantoniodelgado/stopwords

A stopwords removal library

1167.7k1](/packages/juanantoniodelgado-stopwords)[mtrdesign/krait

Krait provides an easy way to create Ajax Datatables.

101.9k](/packages/mtrdesign-krait)[sabre/amf

SabreAMF is a Flash Remoting server and client for PHP

415.9k1](/packages/sabre-amf)

PHPackages © 2026

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