A wannabe all-in-all Bangla String Manupulation Library!
Hey there! BanglaString is willing to be the full featured, all in all, "Bengali" text manipulation library, for PHP. Right now, at its core, it supports translating aka converting Bengali text to Avro Unicode from Bijoy ANSI and vice-versa. However, in future, we are planning to add more Translator to its core.
composer require mirazmac/bangla-string
Download the latest release from Releases. Extract and require src/autoload.php in your code. But it's highly recommended to use Composer.
require 'src/autoload.php';
Takes Bengali strings written in Avro Unicode and translates into Bijoy ANSI
Usage:
require 'vendor/autoload.php';
use MirazMac\BanglaString\BanglaString;
$wizard = new BanglaString('জানার আছে অনেক কিছু!');
echo $wizard->toBijoy();
Takes Bengali strings written in Bijoy ANSI and translates into Avro Unicode
Usage:
require 'vendor/autoload.php';
use MirazMac\BanglaString\BanglaString;
$wizard = new BanglaString('Rvbvi Av?Q A?bK wKQz!');
echo $wizard->toAvro();