Laravel wrapper for phpMorphy library with PHP7 support
This library allow retireve follow morph information for any word:
- Base (normal) form
- All forms
- Grammatical (part of speech, grammems) information
Via Composer
$ composer require jurager/morphy
$morphy = new jurager\morphy\Morphy('en');
echo $morphy->getPseudoRoot('FIGHTY');
Add to config/app.php:
Section providers
jurager\morphy\MorphyServiceProvider::class,
Section aliases
'Morphy' => jurager\morphy\Facade\Morphy::class,
Morphy::getPseudoRoot('БОЙЦОВЫЙ')
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.