3 Laravel packages tagged “bcmath”
Most downloaded: prestashop/decimal, with 9,782,684 downloads and 18 GitHub stars. Ranked by total downloads — use the controls below to sort by stars, most recently updated, or name.
prestashop/decimal
Object-oriented wrapper/shim for BC Math PHP extension. Allows for arbitrary-precision math operations.
18
9,782,684
yuwuhsien/laravel-bcmath-cast
Laravel Eloquent casts for PHP 8.4's BCMath\Number object API, enabling natural operator-based arithmetic on model attributes while maintaining arbitrary precision decimal accuracy.
2
9,377
roundly-consulting/money-for-laravel
Immutable arbitrary-precision Money and Currency value objects for Laravel: ISO 4217 + custom currencies, exact decimal parsing, rounding-safe arithmetic and allocation, locale formatting, Eloquent casts and schema macros, validation, discounts, tax, and pluggable exchange rates (array, database, ECB).
5
1,026