Releases: Skillshare/formatphp
Releases · Skillshare/formatphp
1.0.2
1.0.1
1.0.0
0.7.1
0.7.0
0.6.0
0.5.1
0.5.0
Added
- Provide functionality for formatting numbers and currency through
Intl\NumberFormat, as well asFormatPHP::formatNumber()andFormatPHP::formatCurrency()convenience methods. - Add
UnableToFormatNumberExceptionthrown when we're unable to format a number string.
Changed
- Sort extracted messages descending by key, using a natural, case-insensitive sorting algorithm.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
0.4.1
0.4.0
Added
- Add
Intl\NumberFormatOptionsto allow users to configure number string formatting. - Add
Intl\DateTimeFormatOptionsto allow users to configure date and time string formatting. - Provide functionality for formatting dates and times through
Intl\DateTimeFormat, as well asFormatPHP::formatDate()andFormatPHP::formatTime()convenience methods. - Add
UnableToFormatStringExceptionfrom which other formatting exceptions will descend. - Add
UnableToFormatDateTimeExceptionthrown when we're unable to format a date or time string. - Allow instantiation of
FormatPHPwithout configuration or message collection instances; FormatPHP will use the system's default locale, in this case.- Instantiation of
Intl\Localewithout a locale argument will default to the system default locale. - Instantiation of
Configwithout a locale argument will create anIntl\Localeusing the system default locale.
- Instantiation of
Changed
- Update
UnableToFormatMessageExceptionto descend fromUnableToFormatStringException.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.