PHP Classes


Recommend this page to a friend!
  Classes of Miraz Mac   Bangla String   Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Bangla String
Manipulate strings in the Bengali language
Author: By
Last change:
Date: 5 years ago
Size: 1,349 bytes


Class file image Download


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.

Install via composer

composer require mirazmac/bangla-string

Manual Install

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';

Supported Translators


Takes Bengali strings written in Avro Unicode and translates into Bijoy ANSI


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


require 'vendor/autoload.php';

use MirazMac\BanglaString\BanglaString;
$wizard = new BanglaString('Rvbvi Av?Q A?bK wKQz!');
echo $wizard->toAvro();