camspiers/porter-stemmer
A lightweight PHP implementation of the Porter stemming algorithm from Cam Spiers. Reduce English words to their root forms for search indexing, text analysis, and matching. Simple API, Composer-ready, and suitable for Laravel or any PHP project.
Consider it when:
Look elsewhere when:
For executives: This is a low-cost, MIT-licensed text-processing utility that can improve basic English search, tagging, and content organization without buying a large search platform. It is not a search engine and will not solve advanced relevance or multilingual needs by itself. The recommended path is a small, contained experiment behind an internal interface, with success measured by search match quality, tag consolidation, or duplicate-detection outcomes.
For engineering: Treat this as a narrow dependency for English Porter stemming, not a Laravel search feature. Wrap it in an application-owned service, pin the version, add tests with representative content, and document its English-only limitations. It is a reasonable build-vs-buy shortcut for simple normalization, but production search should still be evaluated against a dedicated search stack if relevance, scale, or multilingual support becomes important.
How can I help you explore Laravel packages today?