moneyphp/money
moneyphp/money is a PHP value-object library for safe money handling without floats. Uses string-based big integers, supports arithmetic, allocation, currencies/ISO repositories, formatting (incl. intl), JSON serialization, and exchange rates. Requires BCMath.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mathiasverraes/money | 0.89 | Small PHP money library that treats monetary values as immutable value objects to avoid floating-point errors. Includes currency support, arithmetic and comparisons, and formatting helpers—useful for modeling prices, totals, and discounts in a robust, domain-driven way. | 4,843 | 4,844 | 443 | 6K | 3 | 66.5 | 8.3 | MIT | 1 month ago | |
| cknow/laravel-money | 0.86 | — | 1,039 | 1,044 | 99 | 161K | 3 | 33.7 | 35.3 | MIT | 2 months ago | |
| brick/money | 0.85 | Brick\Money is a PHP library for precise, immutable money and currency values. It provides exact arithmetic (no float errors), explicit rounding control, and supports large amounts via brick/math, with optional GMP/BCMath acceleration. | 1,908 | 1,914 | 112 | 1M | 4 | 41.6 | 45.2 | MIT | 2 months ago | |
| 99designs/money-php | 0.85 | — | 11 | 13 | 3 | 21 | 0 | 0.1 | 6.1 | — | — | |
| elegantly/laravel-money | 0.84 | Laravel integration for brick/money: Eloquent casting to Brick\Money\Money, safe parsing from strings/ints/floats, and a ValidMoney validation rule with min/max bounds and nullability. Store amounts cleanly (with currency column or fixed currency). | 20 | 19 | 3 | 7K | 0 | 26.7 | 40.6 | MIT | 1 month ago | |
| akaunting/laravel-money | 0.82 | — | 785 | 787 | 109 | 142K | 0 | 32.4 | 35.6 | MIT | 2 months ago | |
| moneyphp/iso-currencies | 0.79 | Provides an up-to-date ISO 4217 currency list sourced from the official ISO Maintenance Agency (currency-iso.org). Designed primarily for moneyphp/money, with composer commands to install and fetch updates for currency data. | 25 | 25 | 15 | 6K | 0 | 22.5 | 37.8 | MIT | 1 month ago |
How can I help you explore Laravel packages today?