DownloadCzech Name Declension
Converts Czech nouns and persons' names to the requested declension.
Usage
use peterkahl\CzechNameDeclension\CzechNameDeclension;
echo CzechNameDeclension::getVocative('Antonín Dvo?ák'); # Antoníne Dvo?áku
echo CzechNameDeclension::getVocative('Bed?ich Smetana'); # Bed?ichu Smetano
echo CzechNameDeclension::getVocative('Old?i?ka'); # Old?i?ko
# Also works with nouns
echo CzechNameDeclension::getVocative('hrad'); # hrade
echo CzechNameDeclension::getVocative('pejsek'); # pejsku
echo CzechNameDeclension::getVocative('babi?ka'); # babi?ko
echo CzechNameDeclension::getVocative('milá?ek'); # milá?ku
|