Skip to content

This is Laravel's Bengali text converter package. Through this package, you can easily convert text from Unicode to Bijoy in your Laravel application and convert Bijoy to Unicode.

License

Notifications You must be signed in to change notification settings

nanopkg/laravel-bangla-text-converter

Repository files navigation

Laravel Bangla Text Converter

This is Laravel's Bengali text converter package. Through this package, you can easily convert text from Unicode to Bijoy in your Laravel application and convert Bijoy to Unicode.

Latest Version on Packagist Issues GitHub Tests Action Status Total Downloads License

Installation

You can install the package via composer:

composer require nanopkg/laravel-bangla-text-converter

Usage

Convert Your unicode Text to Bijoy


$avro = 'আমার সোনার বাংলা, আমি তোমার ভালোবাসি।';
$converter = Nanopkg\BanglaTextConverter\Facades\BanglaTextConverter::toBijoy($avro);
return $converter;

Convert Your Bijoy Text to unicode


$bijoy = 'Avgvi †mvbvi evsjv, Avwg †Zvgvi fv‡jvevwm|';
$converter = Nanopkg\BanglaTextConverter\Facades\BanglaTextConverter::toUnicode($bijoy);
return $converter;

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.