PHP code example of rishadblack / laravel-bangla-text-converter

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

    

rishadblack / laravel-bangla-text-converter example snippets


$avro = 'আমার সোনার বাংলা, আমি তোমার ভালোবাসি।';
$converter = Nanopkg\BanglaTextConverter\Facades\BanglaTextConverter::toBijoy($avro);
return $converter;

$bijoy = 'Avgvi †mvbvi evsjv, Avwg †Zvgvi fv‡jvevwm|';
$converter = Nanopkg\BanglaTextConverter\Facades\BanglaTextConverter::toUnicode($bijoy);
return $converter;