1. Go to this page and download the library: Download startcodein/indicsoundex library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
startcodein / indicsoundex example snippets
use Startcode\IndicSoundex\IndicSoundex as IndicSoundex;
$sound = new IndicSoundex();
echo $sound->soundex('ಬೆಂಗಳೂರು').PHP_EOL;
echo $sound->soundex('आम्र् फल्').PHP_EOL;
echo $sound->soundex('vasudev').PHP_EOL;
echo $sound->soundex('Rupert्').PHP_EOL;
use Startcode\IndicSoundex\IndicSoundex as IndicSoundex;
$sound = new IndicSoundex();
echo $sound->compare('बॆंगळूरु','आम्र् फल्').PHP_EOL;
echo $sound->compare('Bangalore','ಬೆಂಗಳೂರು').PHP_EOL;
echo $sound->compare('बॆंगळूरु','बॆंगळूरु').PHP_EOL;
echo $sound->compare('അമ്മ','അമ').PHP_EOL;
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.