PHP code example of byjg / fonemabr
1. Go to this page and download the library: Download byjg/fonemabr 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/ */
byjg / fonemabr example snippets
$metaphone = new \ByJG\WordProcess\Portuguese\Metaphone();
echo $metaphone->convert('brasília');
echo $metaphone->convert('brazilia');
$soundex = new \ByJG\WordProcess\Portuguese\Soundex();
echo $soundex->process('brasília');
echo $soundex->process('brazilia');
echo $soundex->process('brasil');