Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
/ morphy Public archive

Обертка для phpMorphy / Склонение города / Москва => в Москве

Notifications You must be signed in to change notification settings

SerginhoLD/morphy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Обертка для phpMorphy

Установка

composer require serginhold/morphy

Словари

Примеры

$oMorphy = new \SerginhoLD\Morphy\Morphy();
var_dump($oMorphy->convertWord('Санкт-Петербург', $oMorphy::G_CASE_PREPOSITIONAL, MB_CASE_TITLE));
string(31) "Санкт-Петербурге"
var_dump($oMorphy->convertWord('Набережные Челны', $oMorphy::G_CASE_PREPOSITIONAL));
string(33) "Набережных Челнах"
var_dump($oMorphy->convertWord('Краснодар и Краснодарский край', $oMorphy::G_CASE_PREPOSITIONAL));
string(59) "Краснодаре и Краснодарском крае"

About

Обертка для phpMorphy / Склонение города / Москва => в Москве

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages