dickyermawan / yii2-terbilang-rupiah
Extensions to convert numbers into text in rupiah (Terbilang dalam Rupiah).
Package info
github.com/dickyermawan/yii2-terbilang-rupiah
Type:yii2-extension
pkg:composer/dickyermawan/yii2-terbilang-rupiah
v1.7
2021-10-02 15:49 UTC
Requires
- yiisoft/yii2: ~2.0.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Extensions to convert numbers into text in rupiah (Terbilang dalam Rupiah).
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist dickyermawan/yii2-terbilang-rupiah "~1.0"
or add
"dickyermawan/yii2-terbilang-rupiah": "~1.0"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \dickyermawan\terbilang\Rupiah::terbilang(5500); ?> // Lima Ribu Lima Ratus