Skip to content

Releases: whitecube/php-prices

Bug fixes

04 Mar 11:09
15deb4d
Compare
Choose a tag to compare

Bug fixes :

  • Fixed MoneyMismatchException:contextMismatch when using different context - #4. Thanks @beko1997

Release 2.0.0

12 Feb 17:58
Compare
Choose a tag to compare

New major release, please read README for full change log.

New features: amount and currency accessors

29 Jul 17:34
Compare
Choose a tag to compare

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 underlying Money\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

29 Jul 12:22
a0fd47c
Compare
Choose a tag to compare
Merge pull request #2 from whitecube/feature-decimal-parser

Feature : decimal parser

Initial release

09 Jul 22:44
5910e03
Compare
Choose a tag to compare
v1.0.0

Added sponsorships button