Skip to content

Commit

Permalink
Update readme for 4.0 (#35)
Browse files Browse the repository at this point in the history
wamania authored Dec 22, 2024
1 parent d965092 commit a898923
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -45,10 +45,15 @@ For PHP^7.3 and PHP^8.0 use 3.x (backward compatible, but phpunit^9 don't work w
composer require wamania/php-stemmer "^3.0"
```

For PHP^8.4 use 4.x (avoid deprecated by switching from voku utf8 to [joomla/string](https://github.com/joomla-framework/string) )
```
composer require wamania/php-stemmer "^4.0"
```

Usage
-----

For 2.x, you should use the factory
For 2.x ~ 4.x, you should use the factory
```php
use Wamania\Snowball\StemmerFactory;

0 comments on commit a898923

Please sign in to comment.