Download the PHP package msajko/money-formatter without Composer
On this page you can find all versions of the php package msajko/money-formatter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download msajko/money-formatter
More information about msajko/money-formatter
Files in msajko/money-formatter
Download msajko/money-formatter
More information about msajko/money-formatter
Files in msajko/money-formatter
Vendor msajko
Package money-formatter
Short Description Money to text converter
License MIT
Homepage https://github.com/msajko/money-formatter
Package money-formatter
Short Description Money to text converter
License MIT
Homepage https://github.com/msajko/money-formatter
Please rate this library. Is it a good library?
Informations about the package money-formatter
Money To Text converter
Supported money formats:
- set amount
- country_code formats
setAmount(amount, country_code)- {us,gb,au,..}
12,432.23$12,432.23£12,432.23EUR 12,432.23... - {de,at,es,..}
12.432,2312 432,2312 432,23 EUR12.432,23 €... - {fr}
12 432,2312 432,23 EUR12 432,23 € - {ch}
12'432.23fr. 12'432.23 - {dz,eg,iq,sa}
12,432.2312,432.232 ج.م.12,432.232 ج.م. - croatian money format e.q.
12.432,23or12.432,23 Kn - others ...
- {us,gb,au,..}
- integer, double
setAmountDirect()
- country_code formats
- get pronunciation
get(money, penny, separator)- {en}
get('£', 'pence',' and')->twelve thousand four hundred thirty-two £ and twenty-three pence - {de}
get('€', 'Cent', ' und')->zwölftausendvierhundertzweiunddreißig € und dreiundzwanzig Cent - {it}
get('€', '¢', ' e')->dodicimilaquattrocentotrentadue € e ventitré ¢ - {hr}
getHr('€', 'centa', ' i')[intl independent] ->dvanaesttisućačetiristotridesetidvije kune i dvadesetitri lipe - others ...
- {en}
How to use
composer require msajko/money-formatter
or
git clone https://github.com/msajko/money-formatter create index.php:
and run php index.php
You can try not to use this repository
enable intl php_extension and try:
inspired by
- http://trigeminal.fmsinc.com/samples/setlocalesample2.asp
- yii2 framework implementation Formatter::asSpellout()
plan to integrate
All versions of money-formatter with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
ext-intl Version >=1.0
ext-intl Version >=1.0
The package msajko/money-formatter contains the following files
Loading the files please wait ...