Releases: whitecube/php-prices
Releases · whitecube/php-prices
Release 2.0.0
New major release, please read README for full change log.
New features: amount and currency accessors
New features:
$price->amount()
and$price->exclusiveAmount()
will return the exclusive money amount (including modifiers) as an integer string ;$price->inclusiveAmount()
will return the inclusive money amount (including modifiers) as an integer string ;$price->baseAmount()
will return the base (original, without modifiers) money amount as an integer string ;$price->currency()
will return the underlyingMoney\Currency
instance.
Bug fixs/Enhancements:
- Currency extraction from complex parsable currency strings has been optimized
- Currency recognition regexes have been fixed for some exotic currency unit symbols
New feature: currency string values parsing
Merge pull request #2 from whitecube/feature-decimal-parser Feature : decimal parser
Initial release
v1.0.0 Added sponsorships button