Brick\Money is a PHP library designed to provide precise and reliable handling of monetary values using arbitrary-precision arithmetic, ensuring accuracy in financial calculations of any scale. Built on top of the brick/math library, it avoids floating point errors by using exact decimal representations, making it suitable for applications where correctness is critical, such as accounting and financial services. The library supports ISO 4217 currency standards and includes comprehensive tools for working with currency units, conversions, and rounding strategies. It is designed to handle large numbers and complex operations without loss of precision, which is essential for enterprise-level financial systems. Brick\Money also emphasizes immutability, ensuring that operations return new objects rather than modifying existing ones, which improves predictability and safety in codebases.

Features

  • Arbitrary-precision arithmetic for exact financial calculations
  • Compliance with ISO 4217 currency standards
  • Immutable money objects for safe operations
  • Support for large values and high-precision computations
  • Flexible rounding and conversion strategies
  • Integration with PHP ecosystems via Composer

Project Samples

Project Activity

See All Activity >

Categories

Financial, Libraries

License

MIT License

Follow Brick\Money

Brick\Money Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Brick\Money!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Financial Software, PHP Libraries

Registered

2026-03-19