bdcurrency-laravel-package maintained by asif193873
Introduction
This is a package to express currency in Bangladeshi currency.
install package
composer require asif193873/bdcurrency-laravel-package
In controller put the code
use Asif\BDcurrency\Facades\BDcurrency;
Now use the function with the help of BDcurrency Facade
BDcurrency::numToBanglaWord(4343) // output চার হাজার তিন শত তেতাল্লিশ।
BDcurrency::numToBn(4343) // output ৪৩৪৩।
BDcurrency::numToWord(4343) // four thousand three hundred forty three।
you can use helper function bdcurrency() instead of Facade.
bdcurrency()->numToBanglaWord(4343) // output চার তিন শত তেতাল্লিশ।
bdcurrency()->numToBn(4343) // output ৪৩৪৩।
bdcurrency()->numToWord(4343) // four thousand three hundred forty three।