MoneyBundle
The MoneyBundle is a Symfony bundle integrating the Money for PHP library into an application.
This bundle is inspired by the JKMoneyBundle with miscellaneous enhancements based on its use with client projects.
The bundle includes:
- Schema allowing
Moneyobjects to be used with the Doctrine MongoDB ODM and Doctrine ORM - Serializing and deserializing
Moneyobjects using the Symfony Serializer component or the JMS Serializer - A Twig integration to create and render formatted
Moneyobjects - A form type for the Symfony Form component to process
Moneyobjects - Comparing
Moneyobject values using the Symfony Validator component
Support Matrix
The below table shows the supported PHP and Symfony versions for this bundle.
| Version | Status | PHP Versions | Symfony Versions |
|---|---|---|---|
| 1.x | Actively Supported | 8.1+ | 5.4, 6.4, 7.1-7.4 |
| 2.x | Actively Supported | 8.2+ | 6.4, 7.3-7.4 |