Download the PHP package rakibhstu/number-to-bangla without Composer
On this page you can find all versions of the php package rakibhstu/number-to-bangla. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rakibhstu/number-to-bangla
More information about rakibhstu/number-to-bangla
Files in rakibhstu/number-to-bangla
Package number-to-bangla
Short Description Laravel package to convert English numbers to Bangla number or Bangla text, Bangla month name and Bangla Money Format
License MIT
Homepage https://github.com/rakibdevs/number-to-bangla
Informations about the package number-to-bangla
Number to Bangla Number, Word or Month Name in Laravel
Laravel package to convert English numbers to Bangla number or Bangla text, Bangla month name and Bangla Money Format for Laravel 5.5+. Maximum possible number to covert in Bangla word is 999999999999999 Example, | Operation | English Input | Bangla Output |
---|---|---|---|
Text (Integer) | 13459 | তেরো হাজার চার শত ঊনষাট | |
Text (Float) | 1345.05 | এক হাজার তিন শত পঁয়তাল্লিশ দশমিক শূন্য পাঁচ | |
Number | 1345.5 | ১৩৪৫.৫ | |
Text Money Format | 1345.50 | এক হাজার তিন শত পঁয়তাল্লিশ টাকা পঞ্চাশ পয়সা | |
Month | 12 | ডিসেম্বর | |
Comma (Lakh) | 121212121 | ১২,১২,১২,১২১ |
Installation
Install the package through Composer. On the command line:
Configuration
If Laravel > v7.~, no need to add provider
Add the following to your providers
array in config/app.php
:
Usage
Here you can see some example of just how simple this package is to use.
Number to Bangla Word
Use bnWord()
to convert any number into bangla word. Example,
Number to Bangla Money Format
Use bnMoney()
to convert any number into bangla money format with 'টাকা' & 'পয়সা'. Example,
Number to Bangla Number
Use bnNum()
to convert any number into bangla number. Example,
Number to Month Name in Bangla
Use bnMonth()
to convert any number into bangla number. Input Limit (1-12) Example,
Comma separated number
Use bnCommaLakh()
to convert any number into bangla number. Example,
License
Number to Bangla is licensed under The MIT License (MIT).