juanantoniodelgado/stopwords
A Laravel/PHP package for working with stopwords. Detect and remove common filler words from text across multiple languages, with a simple API for cleaning, filtering, and analyzing strings in your applications.
Consider it when all of the following hold:
Look elsewhere when:
To executives: This is a small, free, narrowly scoped library that removes common filler words from text before we index or analyze it. It is the kind of component that makes search results and content-tagging features noticeably better for a few days of integration work rather than a multi-week build. The strategic value is not the library itself — it is the option it preserves: we can ship keyword and search-quality improvements in the current PHP stack without standing up a new machine-learning service or hiring for it. Risk is low because the code path is non-critical and the logic is simple enough to replace in-house if we ever need to; the one item to clear is the license, which is a content license requiring attribution rather than a standard software license, so Legal should sign off or we absorb the word lists and write the filter ourselves.
To engineering: Treat this as a convenience wrapper, not an architecture decision. It handles multilingual stopword lists — the tedious, easy-to-get-wrong part — while you keep ownership of tokenization, stemming, and ranking. Integration is a Composer require plus a filter call in the indexing or tagging job, and it is fully substitutable: if the dependency goes stale, the extraction and comparison logic is a few hundred lines we can fork and own. Two guardrails: do not call it per-request in a user-facing hot path, and do not duplicate stopword logic that our search backend already applies at index time — pick one layer and document it. We should also pin the version and add attribution to our third-party notices file on day one so the license question does not resurface during a security or compliance review later.
How can I help you explore Laravel packages today?