danharrin/date-format-converter
Convert date format strings between PHP, Moment.js, and other common tokens. Handy for keeping Laravel backends and JavaScript frontends in sync when parsing, formatting, or validating dates across different libraries and locales.
strftime-like ordinals with modern frontend frameworks.strftime-style outputs).For Executives: "This minor update adds ordinal date suffixes (e.g., '1st', '2nd') to our Laravel date toolkit, enabling seamless sync with JavaScript frameworks like moment.js or day.js. For example, it’ll let us display 'January 1st' consistently across our web and mobile apps without manual fixes. Low-risk (MIT license), high-impact for global/localized products or teams integrating frontend-backend date logic."
For Engineering: *"The v0.3.1 release adds ordinal suffix support for day.js/moment.js, which is useful if:
if-else logic for 'st/nd/rd/th' suffixes.
Prototype it for [feature X]—it’s a drop-in upgrade with no breaking changes. Pair it with Carbon’s existing methods for full coverage."How can I help you explore Laravel packages today?