danharrin/date-format-converter
Convert date/time format strings between PHP, Moment.js, ICU and more. Handy for Laravel apps that need consistent formatting across backend and frontend, with simple helpers to translate patterns and reduce duplicated format definitions.
danharrin/date-format-converter is a small utility for converting date/time format strings between popular ecosystems, making it easier to keep formatting consistent across PHP and JavaScript clients. It helps you reuse a single source of truth for display formats when working with libraries that expect different token syntaxes.
Use it to translate format tokens reliably for common patterns, reducing duplication and mismatches between server-rendered views and front-end components.
How can I help you explore Laravel packages today?