Skip to content

A wannabe all-in-all Bangla/Bengali string transformation library.

License

Notifications You must be signed in to change notification settings

MirazMac/BanglaString

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BanglaString

A wannabe all-in-all Bangla String manipulation/transformation library for PHP.

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

AvroToBijoy

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

Usage:

$translator = new \MirazMac\BanglaString\Translator\AvroToBijoy\Translator;
echo $translator->translate('জানার আছে অনেক কিছু');

BijoyToAvro

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