A wannabe all-in-all Bangla String manipulation/transformation library for PHP.
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 Classic ANSI
Usage:
$translator = new \MirazMac\BanglaString\Translator\AvroToBijoy\Translator;
echo $translator->translate('জানার আছে অনেক কিছু');
Takes Bengali strings written in Bijoy Classic ANSI and translates into Avro Unicode
Usage:
$translator = new \MirazMac\BanglaString\Translator\BijoyToAvro\Translator;
echo $translator->translate('Rvbvi Av?Q A?bK wKQz!');