«Formatter» pattern for Laravel
MIT License
Published by michael-rubel over 2 years ago
null
to native string functions like mb_strtoupper
Full Changelog: https://github.com/michael-rubel/laravel-formatters/compare/4.1.0...4.1.1
Published by michael-rubel over 2 years ago
Published by michael-rubel over 2 years ago
Full Changelog: https://github.com/michael-rubel/laravel-formatters/compare/4.0.0...4.0.1
Published by michael-rubel over 2 years ago
format
helper now supports variadic parameters:format(DateTimeFormatter::class, now(), 'UTC', 'Y-m-d H:i:s');
Full Changelog: https://github.com/michael-rubel/laravel-formatters/compare/3.3.3...4.0.0
Published by michael-rubel over 2 years ago
Published by michael-rubel over 2 years ago
Published by michael-rubel over 2 years ago
format
helper (this feature will land in the next major release to prevent breaking changes).Published by michael-rubel over 2 years ago
format
helper.Published by michael-rubel over 2 years ago
Published by michael-rubel over 2 years ago
Published by michael-rubel over 2 years ago
Published by michael-rubel almost 3 years ago
Published by michael-rubel almost 3 years ago
app
formatters.Published by michael-rubel almost 3 years ago
Published by michael-rubel almost 3 years ago
The version is considered major since composer.json
now requires Laravel ^8.67
. If someone's still on the lower version and cannot upgrade to the new one, you can stick with 1.x
version until possible to upgrade.
Published by michael-rubel almost 3 years ago
.editorconfig
to standardize spacing across IDEs (#5)Published by michael-rubel almost 3 years ago
kebab
.Published by michael-rubel almost 3 years ago
LocaleNumberFormatter
.Published by michael-rubel almost 3 years ago
LocaleNumberFormatter
is now trying to get the first element from the collection if number
isn't passed.Published by michael-rubel almost 3 years ago
$items
in format()
helper is now mixed
to allow passing any type.