Moment.php VS Carbon

Compare Moment.php vs Carbon and see what are their differences.

Moment.php

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

Carbon

A simple PHP API extension for DateTime. (by briannesbitt)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Moment.php Carbon
0 18
968 16,421
- -
8.5 9.3
30 days ago 8 days ago
PHP PHP
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Moment.php

Posts with mentions or reviews of Moment.php. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning Moment.php yet.
Tracking mentions began in Dec 2020.

Carbon

Posts with mentions or reviews of Carbon. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-19.

What are some alternatives?

When comparing Moment.php and Carbon you can also consider the following projects:

Chronos - A standalone DateTime library originally based off of Carbon

Yasumi - The easy PHP Library for calculating holidays

CalendR - The missing PHP 5.3+ calendar management library.

ExpressiveDate - A fluent extension to PHPs DateTime class.

Duration for PHP - Working with durations made easy

period - PHP's time range API