Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1023 Bytes

README.md

File metadata and controls

43 lines (26 loc) · 1023 Bytes

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