Download the PHP package ez-php/money without Composer
On this page you can find all versions of the php package ez-php/money. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor ez-php
Package money
Short Description Immutable Money and Currency value objects for the ez-php ecosystem — ISO 4217 currencies, arbitrary-precision arithmetic via ez-php/bignum, allocation, and locale-aware formatting
License MIT
Homepage https://github.com/ez-php/money
Package money
Short Description Immutable Money and Currency value objects for the ez-php ecosystem — ISO 4217 currencies, arbitrary-precision arithmetic via ez-php/bignum, allocation, and locale-aware formatting
License MIT
Homepage https://github.com/ez-php/money
Please rate this library. Is it a good library?
Informations about the package money
ez-php/money
Immutable Money and Currency value objects for the ez-php ecosystem.
- ISO 4217 currencies with minor-unit scale (bundled, no network calls)
- Arbitrary-precision arithmetic via
ez-php/bignum - Allocation without losing a minor unit
- Locale-aware formatting via PHP's
ext-intl
Requirements
- PHP 8.5+
ext-gmp(required, viaez-php/bignum)ext-intl(optional, forIntlMoneyFormatter/IntlMoneyParser)
Installation
Usage
Creating Money
Arithmetic
Allocation
Comparison
Minor units
Currencies
Formatting
Parsing
Exception hierarchy
Currencies
The bundled registry covers ~150 ISO 4217 currencies. Lookups are case-insensitive and cached after first access.
All versions of money with dependencies
PHP Build Version
Package Version
The package ez-php/money contains the following files
Loading the files please wait ...