PHP code example of ar_nishan / bangla_converter

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

    

ar_nishan / bangla_converter example snippets


    $translator = new \ArNishan\BanglaConverter\Translate;
    $translator->unicodeToBijoy('আমার সোনার বাংলা');
    $translator->bijoyToUnicode('Avgvi ‡mvbvi evsjv');
    

    use ArNishan\BanglaConverter\Facade\Translator;
    $translator = Translator::unicodeToBijoy('আমার সোনার বাংলা');
    $translator = Translator::bijoyToUnicode('Avgvi ‡mvbvi evsjv');