-
Notifications
You must be signed in to change notification settings - Fork 448
Closed
Labels
Milestone
Description
This issue will contain a list of suggestions that we could take into account for the next major version of this library. Ideas are not complete in the sense that they represent what are going to do. It is merely a place where we can collect idea.
Ideas.
- Parser should accept Currency object, see Parser doesn't accept currency object #386.
- ISOCurrencies could have a
loaderinterface injected, possible implementations are StaticLoader, DirectLoader and CachableLoader, see Once currencies.php is outdated it is no longer ISO currencies. #392. - Move calculators to a
CalculatorRegistrythat can be used by Money and other classes that require calculations, see Add IndirectExchange #384 and Better CurrencyPair #363. - Implementation of PreciseMoney, see Deal with decimals using PreciseMoney #7 and Precise money #335.
- Move towards PHP 7.1+ with string and return types and less docblock.
In order to have your ideas listed, please open an issue for discussion. If there is agreement that it should be taken into account in the major next version, we will list it here.