Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 55 | All time: 10,595 This week: 455 |
Version | License | PHP version | Categories | |||
banglastring 1.0 | MIT/X Consortium ... | 5.4 | Localization, PHP 5, Text processing |
Description | Author | |
This package is specific mainly for applications used in Bangladesh .
This package can manipulate strings in the Bengali language. Innovation Award
|
<?php |
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.
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 ANSI
Usage:
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
Usage:
require 'vendor/autoload.php';
use MirazMac\BanglaString\BanglaString;
$wizard = new BanglaString('Rvbvi Av?Q A?bK wKQz!');
echo $wizard->toAvro();
Files (10) |
File | Role | Description | ||
---|---|---|---|---|
src (2 files, 1 directory) | ||||
composer.json | Data | Auxiliary data | ||
example.php | Example | Example script | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation |
Files (10) | / | src |
File | Role | Description | ||
---|---|---|---|---|
Translator (4 files) | ||||
autoload.php | Example | Example script | ||
BanglaString.php | Class | Class source |
Files (10) | / | src | / | Translator |
File | Role | Description |
---|---|---|
AvroUnicode.php | Class | Class source |
BijoyAnsi.php | Class | Class source |
CharacterMap.php | Class | Class source |
TranslatorInterface.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.