tbbc/money-bundle
A Symfony bundle that integrates the moneyphp/money library into your application, offering Twig filters and extensions for formatting monetary values, form types for money input, and ready-to-use services for safe currency handling.
moneyphp/money (Fowler Money pattern, widely used). The bundle itself is only integration glue — DI configuration, Twig filters, form types, validators, Doctrine mapping. Buy the glue or write it; do not treat the bundle as a strategic dependency.moneyphp/money or brick/money), plus a thin service provider — not adoption of this bundle.Consider it when:
moneyphp/money.Look elsewhere when:
moneyphp/money directly behind a service provider, or evaluate brick/money for higher-precision/decimal use cases.moneyphp/money alone covers it; the bundle adds surface area for little return.brick/money first.For executives: A small, MIT-licensed integration layer that makes currency handling correct by default, cutting a known category of billing and rounding defects. Cost is near zero and the exit cost is low, because the real dependency is a widely used open-source money library and this package is only the wiring. The caveat: low adoption (196 stars, no known dependents) and single-maintainer risk, so treat it as a convenience wrapper rather than platform strategy. Fund a short validation spike, not a migration.
For engineering: Symfony-only — do not assume Laravel compatibility, despite how it may be filed. Underneath is moneyphp/money; keep domain logic against that API so the bundle stays replaceable. The bundle contributes DI configuration, a Twig extension, a form type, a validator, and a Doctrine type. Before adoption: confirm Symfony/PHP version support, verify the release history (the published date is future-dated), check open issues and test coverage, and be prepared to vendor or fork. Estimate one to two days to validate; the documented fallback is roughly 100–200 lines of in-house glue over the same library.
How can I help you explore Laravel packages today?