Version Not Yet Released
You are viewing the documentation for the 2.x branch of the MoneyBundle package which has not yet been released. Be aware that the API for this version may change before release.
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
Money
objects to be used with the Doctrine MongoDB ODM and Doctrine ORM - Serializing and deserializing
Money
objects using the Symfony Serializer component or the JMS Serializer - A Twig integration to create and render formatted
Money
objects - A form type for the Symfony Form component to process
Money
objects - Comparing
Money
object 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.2 |
2.x | Under Development | 8.2+ | 6.4, 7.1-7.2 |