PHP Classes

Bangla String: Manipulate strings in the Bengali language

Recommend this page to a friend!
  Info   View files Example   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 54 All time: 10,466 This week: 339Up
Version License PHP version Categories
banglastring 1.0MIT/X Consortium ...5.4Localization, PHP 5, Text processing
Description 

Author

This package is specific mainly for applications used in Bangladesh Bangladesh .

This package can manipulate strings in the Bengali language.

Currently it can translate Bengali text strings to Avro Unicode from Bijoy ANSI and vice-versa.

Innovation Award
PHP Programming Innovation award nominee
November 2017
Number 7
Text in the Bengali language can be represented using either Avro Unicode from Bijoy ANSI.

This package can convert Bengali text between the two possible representations.

Manuel Lemos
Picture of Miraz Mac
  Performance   Level  
Name: Miraz Mac <contact>
Classes: 13 packages by
Country: Bangladesh Bangladesh
Age: 28
All time rank: 202029 in Bangladesh Bangladesh
Week rank: 76 Up4 in Bangladesh Bangladesh Up
Innovation award
Innovation award
Nominee: 5x

Details

BanglaString

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

AvroUnicode

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();

BijoyAnsi

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();
  Files folder image Files  
File Role Description
Files folder imagesrc (2 files, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageTranslator (4 files)
  Accessible without login Plain text file autoload.php Example Example script
  Plain text file BanglaString.php Class Class source

  Files folder image Files  /  src  /  Translator  
File Role Description
  Plain text file AvroUnicode.php Class Class source
  Plain text file BijoyAnsi.php Class Class source
  Plain text file CharacterMap.php Class Class source
  Plain text file TranslatorInterface.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:54
This week:0
All time:10,466
This week:339Up