mirazmac / bangla-string
A wannabe all-in-all Bangla String Manupulation Library!
Installs: 2 598
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 5
Forks: 4
Open Issues: 0
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: 4.8.36
This package is auto-updated.
Last update: 2024-12-19 14:09:01 UTC
README
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!');