Создаю пустой плагин, в папке плагина ставлю
composer require cijic/phpmorphy
отсюда https://github.com/cijic/phpmorphy
Делаю new cijic\phpMorphy\Morphy();
получаю ErrorException: Methods with the same name as their class will not be constructors in a future version of PHP; phpMorphy_FilesBundle has a deprecated constructor in
Нашел вот такой пакет https://github.com/Jurager/morphy
Установил, выполняю $morphy = new jurager\morphy\Morphy();
Получаю Symfony\Component\Debug\Exception\FatalThrowableError: Class 'jurager\morphy\src\Morphy' not found in