Skip to content

Releases: cknow/laravel-money

v4.0.0

06 Mar 13:55
Compare
Choose a tag to compare

Features

  • Added Laravel 7.0 support

Breaking Changes

  • Drop support for PHP 7.1
  • Drop support for Laravel 5

v3.8.1

06 Mar 13:01
e64ffc6
Compare
Choose a tag to compare
  • Lumen Compatibility

v3.8.0

06 Sep 12:54
Compare
Choose a tag to compare

Features

  • Added Laravel 6.0 support

v3.7.0

13 May 13:52
31e0082
Compare
Choose a tag to compare

Features

  • Make it easier for classes to extend

v3.6.0

17 Apr 13:06
e902efc
Compare
Choose a tag to compare

Features

  • Add the ability to macro the Money class

v3.5.0

28 Feb 17:45
e4e18e1
Compare
Choose a tag to compare

Features

  • Added Laravel 5.8 support

v3.4.0

29 Dec 22:22
Compare
Choose a tag to compare

Features

Money

  • Added aggregate static function Money::min
  • Added aggregate static function Money::max
  • Added aggregate static function Money::avg
  • Added aggregate static function Money::sum
  • Update add now accept variadic arguments
  • Update subtract now accept variadic arguments

Helpers

  • Added money_min
  • Added money_max
  • Added money_avg
  • Added money_sum

Directives

  • Added @money_min
  • Added @money_max
  • Added @money_avg
  • Added @money_sum

v3.3.0

05 Dec 11:24
Compare
Choose a tag to compare

Features

Parsers

  • Added parseByAggregate
  • Added parseByBitcoin
  • Added parseByIntl
  • Added parseByIntlLocalizedDecimal
  • Updated parse is alias to parseByIntl

Formatters

  • Added formatByAggregate
  • Added formatByBitcoin
  • Added formatByIntl
  • Added formatByIntlLocalizedDecimal
  • Updated format is alias to formatByIntl

Helpers

  • Added money_parse_by_bitcoin
  • Added money_parse_by_intl
  • Added money_parse_by_intl_localized_decimal

Directives

  • Added @money_parse_by_bitcoin
  • Added @money_parse_by_intl
  • Added @money_parse_by_intl_localized_decimal

v3.2.0

20 Sep 14:04
Compare
Choose a tag to compare

Features

  • Added Laravel 5.7 support
  • Added configuration file to preset locale and currency default
  • Added static methods getCurrency and setCurrency to use currency default
  • Update locale default to en_US
  • Update currency default to USD

Enhancements

  • Added money factory
  • Update money helper to use currency default

v3.1.0

02 Apr 20:19
b74a490
Compare
Choose a tag to compare

Features

  • Added helper money_parse_by_decimal
  • Added blade directive @money_parse