PHPackages                             moment/moment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. moment/moment

ActiveComponent[Localization &amp; i18n](/categories/localization)

moment/moment
=============

Parse, validate, manipulate, and display dates in JavaScript.

2.30.1(2y ago)48.1k2.1M↓22.7%7.0k[118 issues](https://github.com/moment/moment/issues)[44 PRs](https://github.com/moment/moment/pulls)20MITJavaScript

Since Jul 7Pushed 1y ago843 watchersCompare

[ Source](https://github.com/moment/moment)[ Packagist](https://packagist.org/packages/moment/moment)[ Docs](https://github.com/moment/moment)[ RSS](/packages/moment-moment/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (1)Versions (104)Used By (20)

[Moment.js](http://momentjs.com/)
=================================

[](#momentjs)

[![NPM version](https://camo.githubusercontent.com/6b4775dfaed9178fb9773ef7fcdacb7188b4ddbe197a8874daef6f636688a1be/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f6d6f6d656e742e7376673f7374796c653d666c6174)](https://npmjs.org/package/moment)[![NPM downloads](https://camo.githubusercontent.com/988c3d483e895fab2d5ff03d22dc34fa338d9b832c4f6fd949dba323f44d3190/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f646d2f6d6f6d656e742e7376673f7374796c653d666c6174)](https://npmcharts.com/compare/moment?minimal=true)[![MIT License](https://camo.githubusercontent.com/f48f8d6cf609f5b181b9c3218a85175fe8a5809c7ea400347f39697a5d55065d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c6174)](LICENSE)[![Build Status](https://camo.githubusercontent.com/a1791175b71bbca5a78feedad82cec9ac816434a17896976f444d51f4d9baae6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d6f6d656e742f6d6f6d656e742f646576656c6f702e7376673f7374796c653d666c6174)](https://travis-ci.org/moment/moment)[![Coverage Status](https://camo.githubusercontent.com/4b3bd3e9ef5e90b72961587863399404737ec95d1dcbdc96789823a0fb7fec6b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6d6f6d656e742f6d6f6d656e742f62616467652e7376673f6272616e63683d646576656c6f70)](https://coveralls.io/r/moment/moment?branch=develop)[![FOSSA Status](https://camo.githubusercontent.com/f06808c9ca35239b93020171606ab5ae4cdb706d6a06d7e1f94c10940f53a812/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f67697425324268747470732533412532462532466769746875622e636f6d2532466d6f6d656e742532466d6f6d656e742e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment?ref=badge_shield)[![SemVer compatibility](https://camo.githubusercontent.com/5ec9cc26933272f922be95b6cc783852411e1c876eda8754de325a2ef8ace202/68747470733a2f2f6170692e646570656e6461626f742e636f6d2f6261646765732f636f6d7061746962696c6974795f73636f72653f646570656e64656e63792d6e616d653d6d6f6d656e74267061636b6167652d6d616e616765723d6e706d5f616e645f7961726e2676657273696f6e2d736368656d653d73656d766572)](https://dependabot.com/compatibility-score.html?dependency-name=moment&package-manager=npm_and_yarn&version-scheme=semver)

A JavaScript date library for parsing, validating, manipulating, and formatting dates.

Project Status
--------------

[](#project-status)

Moment.js is a legacy project, now in maintenance mode. In most cases, you should choose a different library.

For more details and recommendations, please see [Project Status](https://momentjs.com/docs/#/-project-status/) in the docs.

*Thank you.*

Resources
---------

[](#resources)

- [Documentation](https://momentjs.com/docs/)
- [Changelog](CHANGELOG.md)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/momentjs)

License
-------

[](#license)

Moment.js is freely distributable under the terms of the [MIT license](LICENSE).

[![FOSSA Status](https://camo.githubusercontent.com/d5192b899dd146d4728c2c88ba31bd9ffde278490df9c8837cae224ad3613559/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f67697425324268747470732533412532462532466769746875622e636f6d2532466d6f6d656e742532466d6f6d656e742e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment?ref=badge_large)

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity80

Widely adopted with strong download metrics

Community59

Growing community involvement

Maturity80

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~60 days

Recently: every ~158 days

Total

64

Last Release

873d ago

Major Versions

2.18.1 → 3.x-dev2017-08-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/61b83b9dcc22b826692fdaf4c7107f8b57f0be1ea1c673b1c322e73fab2fa877?d=identicon)[ichernev](/maintainers/ichernev)

![](https://www.gravatar.com/avatar/c57fbbd71175b31e2f22090d9927d2eee8253aea05206a65db681b27a7ae8f15?d=identicon)[Poyeyo](/maintainers/Poyeyo)

---

Top Contributors

[![ichernev](https://avatars.githubusercontent.com/u/757060?v=4)](https://github.com/ichernev "ichernev (1363 commits)")[![timrwood](https://avatars.githubusercontent.com/u/643885?v=4)](https://github.com/timrwood "timrwood (807 commits)")[![icambron](https://avatars.githubusercontent.com/u/244988?v=4)](https://github.com/icambron "icambron (220 commits)")[![marwahaha](https://avatars.githubusercontent.com/u/2541209?v=4)](https://github.com/marwahaha "marwahaha (101 commits)")[![TracyGJG](https://avatars.githubusercontent.com/u/4346753?v=4)](https://github.com/TracyGJG "TracyGJG (35 commits)")[![ashsearle](https://avatars.githubusercontent.com/u/1166814?v=4)](https://github.com/ashsearle "ashsearle (31 commits)")[![mattjohnsonpint](https://avatars.githubusercontent.com/u/1396388?v=4)](https://github.com/mattjohnsonpint "mattjohnsonpint (31 commits)")[![caillou](https://avatars.githubusercontent.com/u/46739?v=4)](https://github.com/caillou "caillou (23 commits)")[![mbad0la](https://avatars.githubusercontent.com/u/8503331?v=4)](https://github.com/mbad0la "mbad0la (20 commits)")[![Xotic750](https://avatars.githubusercontent.com/u/216041?v=4)](https://github.com/Xotic750 "Xotic750 (17 commits)")[![Alanscut](https://avatars.githubusercontent.com/u/21104054?v=4)](https://github.com/Alanscut "Alanscut (16 commits)")[![nrbgt](https://avatars.githubusercontent.com/u/7581399?v=4)](https://github.com/nrbgt "nrbgt (16 commits)")[![kruyvanna](https://avatars.githubusercontent.com/u/1171793?v=4)](https://github.com/kruyvanna "kruyvanna (14 commits)")[![jbleduigou](https://avatars.githubusercontent.com/u/1489214?v=4)](https://github.com/jbleduigou "jbleduigou (14 commits)")[![mergehez](https://avatars.githubusercontent.com/u/16548877?v=4)](https://github.com/mergehez "mergehez (12 commits)")[![weldan](https://avatars.githubusercontent.com/u/121695?v=4)](https://github.com/weldan "weldan (12 commits)")[![timfish](https://avatars.githubusercontent.com/u/1150298?v=4)](https://github.com/timfish "timfish (12 commits)")[![mrtnjrrtt](https://avatars.githubusercontent.com/u/3829159?v=4)](https://github.com/mrtnjrrtt "mrtnjrrtt (12 commits)")[![kkopanidis](https://avatars.githubusercontent.com/u/9095396?v=4)](https://github.com/kkopanidis "kkopanidis (11 commits)")[![vnathalye](https://avatars.githubusercontent.com/u/14007809?v=4)](https://github.com/vnathalye "vnathalye (11 commits)")

---

Tags

i18nl10nformattimedatevalidateparsemomentender

### Embed Badge

![Health badge](/badges/moment-moment/health.svg)

```
[![Health](https://phpackages.com/badges/moment-moment/health.svg)](https://phpackages.com/packages/moment-moment)
```

###  Alternatives

[timrwood/moment

Parse, validate, manipulate, and display dates in JavaScript.

48.0k17.2k](/packages/timrwood-moment)[fightbulc/moment

Parse, validate, manipulate, and display dates in PHP w/ i18n support. Inspired by moment.js

9693.2M10](/packages/fightbulc-moment)[jenssegers/date

A date library to help you work with dates in different languages

1.8k11.2M80](/packages/jenssegers-date)[symfony/intl

Provides access to the localization data of the ICU library

2.6k199.8M1.1k](/packages/symfony-intl)[punic/punic

PHP-Unicode CLDR

1542.9M29](/packages/punic-punic)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

177661.4M4.8k](/packages/nesbot-carbon)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
