PHP Classes

Czech Name Declension: Convert Czech nouns and person names

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 32 All time: 11,022 This week: 455Up
Version License PHP version Categories
czech-name-declensio 1.0Custom (specified...5Localization, PHP 5, Text processing


This class can convert Czech nouns and person names.

It make take a noun or a person name and converts the names between genders.

The class can converte names with one or multiple words.

Innovation Award
PHP Programming Innovation award nominee
June 2017
Number 10
Declension is the process of changing the inflection of names gender, case or number.

It can be used to get the plural from singular, the feminine from the masculine, etc..

This class can convert a Czech name between genders.

Manuel Lemos
Picture of Peter Kahl
  Performance   Level  
Name: Peter Kahl <contact>
Classes: 37 packages by
Country: United Kingdom
Age: ???
All time rank: 41721 in United Kingdom
Week rank: 286 Up10 in United Kingdom Up
Innovation award
Innovation award
Nominee: 23x

Winner: 2x


Czech Name Declension

Downloads License If this project has business value for you then don't hesitate to support me with a small donation.

Converts Czech nouns and persons' names to the requested declension.


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

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file CzechNameDeclension.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:11,022
This week:455Up