PHP Date Formatter
JSON →A standalone JavaScript library for formatting and parsing dates using PHP-style date/time format strings. The latest stable version is 1.3.7 (released April 2016, last updated April 2018). It provides a DateFormatter class with methods like formatDate and guessDate, converting between Date objects and PHP format strings. Unlike moment.js or Luxon, it uses PHP date format specifiers, making it ideal for projects where PHP and JavaScript must share consistent date formats. It has no external dependencies and works in browsers and Node.js. Release cadence is low; the library is in maintenance mode.
Resources
packagephp-date-formatter ↗
API endpoints
full doc /v1/registry/php-date-formatter