PHPackages                             coral-media/php-snowball - 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. coral-media/php-snowball

ActivePhp-ext[Utility &amp; Helpers](/categories/utility)

coral-media/php-snowball
========================

Snowball (libstemmer) bindings for PHP

v1.0.2(3mo ago)06MITCPHP &gt;=8.1CI passing

Since Feb 6Pushed 3mo agoCompare

[ Source](https://github.com/coral-media/php-snowball)[ Packagist](https://packagist.org/packages/coral-media/php-snowball)[ RSS](/packages/coral-media-php-snowball/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

coral-media/php-snowball (PHP extension)
========================================

[](#coral-mediaphp-snowball-php-extension)

Minimal PECL-style scaffold for a Snowball (libstemmer) extension with vendored sources.

Install using PIE
-----------------

[](#install-using-pie)

From sources

```
pie install --with-snowball
```

From [Packagist](https://packagist.org)

```
pie install coral-media/php-snowball --with-snowball
```

Further info [PIE official repository](https://github.com/php/pie)

Build (from source)
-------------------

[](#build-from-source)

```
phpize
./configure --with-snowball
make -j"$(nproc)"
make install
```

Windows support
---------------

[](#windows-support)

Check the [releases](https://github.com/coral-media/php-snowball/releases/) page. Download the compatible asset with your PHP version and make sure you load the extension in `php.ini`.

Usage
-----

[](#usage)

Basic stemming (defaults to English + UTF\_8):

```
