moneyphp/money
PHP library for handling money and currencies safely. Provides immutable Money and Currency value objects, arithmetic with proper rounding, comparisons, formatting, and allocation. Avoid floating-point errors in financial calculations; works well with PHP and frameworks like Laravel.
Adopt this package when building applications involving monetary transactions, multi-currency support, or strict financial accuracy requirements. Ideal for e-commerce, fintech, and accounting systems using domain-driven design. Avoid if the project has no monetary calculations, uses a non-PHP stack, or requires specialized currency handling outside ISO standards (e.g., custom cryptocurrencies).
For executives: "This battle-tested library eliminates costly financial calculation errors, ensuring regulatory compliance and customer trust. With 4.8k+ GitHub stars, it reduces development risk and accelerates time-to-market for financial features." For engineering: "Integrates seamlessly with Laravel to provide immutable Money objects, precise arithmetic, and localized formatting—preventing floating-point inaccuracies and simplifying currency handling across the stack while adhering to industry best practices."
How can I help you explore Laravel packages today?