PHP code example of mirazmac / bangla-string

1. Go to this page and download the library: Download mirazmac/bangla-string 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/ */

    

mirazmac / bangla-string example snippets




$translator = new \MirazMac\BanglaString\Translator\AvroToBijoy\Translator;
echo $translator->translate('জানার আছে অনেক কিছু');

$translator = new \MirazMac\BanglaString\Translator\BijoyToAvro\Translator;
echo $translator->translate('Rvbvi Av?Q A?bK wKQz!');