colophoneticphp
A class for retrieving the cologne phonetic (Kölner Phonetik) value of a string.
As described at http://de.wikipedia.org/wiki/Kölner_Phonetik
Based on Hans Joachim Postel: Die Kölner Phonetik.
Ein Verfahren zur Identifizierung von Personennamen auf der
Grundlage der Gestaltanalyse.
in: IBM-Nachrichten, 19. Jahrgang, 1969, S. 925-931
This class is based on the cologne_phon function by Nikolas Zimmer (nicolas dot zimmer at einfachmarke.de) provided by him in a comment on php.net.
I modified the function to fix some errors and wrapped a class around it.
Installation
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
Put the following into your composer.json
{
"require": {
"tobytes/colophoneticphp": "~1.0"
}
}