Skip to content
M

Moment.php

Parse, validate, manipulate, and display dates in PHP w/ i18n support

by fightbulcFree

#1590in Productivity
0In stores

Description

moment.php is a PHP library for parsing, validating, manipulating and displaying dates, with i18n support. It is inspired by moment.js. The…

Highlights

  • Parse, validate, manipulate and format dates in PHP
  • Localization with locale files for many languages
  • Built on PHP's DateTime class with no extra dependencies
  • Installs with Composer

Ratings & Reviews

No ratings yet

Be the first to rate Moment.php.

People also visit

Z

Zebra_Datepicker

A super-lightweight, highly configurable

Productivity
Launch
P

Persiantools

Jalali (Shamsi/Persian) date and datetime

Utilities
Launch
H

@handsontable/pikaday

A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS

UI Libraries
Launch
I

ICal

iCal-creator for PHP

Productivity
Launch
V

Vanilla Calendar Pro

Lightweight, framework-agnostic date and time picker

Productivity
Launch
R

React Day Picker

DayPicker is a customizable date picker component for React

Productivity
Launch

Moment.php FAQ

What is moment.php?

A date library for PHP that parses, manipulates and formats dates with i18n support, inspired by moment.js.

Does it have dependencies?

The README lists none beyond PHP. It is based on PHP's DateTime class and needs PHP 5.3 or later.

How do I install it?

Install it with Composer, as the README describes.

Is it still maintained?

The author says time is limited, so pull requests can take a while, and is open to handing the project to someone who has more time.

Which languages are supported?

The README lists locale files for many languages, and you can switch the locale in your code.

What are the best Moment.php alternatives?

Popular alternatives to Moment.php include Zebra_Datepicker, ICal and Vanilla Calendar Pro. See all Moment.php alternatives

Developer Stuff

Badges