PHPackages                             stinger/moment-js-bundle - 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. stinger/moment-js-bundle

ActiveSymfony-bundle[Localization &amp; i18n](/categories/localization)

stinger/moment-js-bundle
========================

Symfony2 Bundle Moment.js - Parse, validate, manipulate, and display dates in JavaScript

2.10.3(10y ago)07.2kMITJavaScript

Since Jul 1Pushed 10y ago2 watchersCompare

[ Source](https://github.com/Stinger-Soft/MomentJsBundle)[ Packagist](https://packagist.org/packages/stinger/moment-js-bundle)[ Docs](http://momentjs.com)[ RSS](/packages/stinger-moment-js-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Moment.js Bundle for Symfony2
=============================

[](#momentjs-bundle-for-symfony2)

Moment.js Bundle for Symfony2

Current Version
---------------

[](#current-version)

Moment.js v2.10.3

Installation
------------

[](#installation)

### Add bundle to your composer.json file

[](#add-bundle-to-your-composerjson-file)

```
// composer.json

{
    "require": {
		// ...
        "stinger/momentjs-bundle": "~2.10"
    }
}
```

### Add bundle to your application kernel

[](#add-bundle-to-your-application-kernel)

```
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Stinger\MomentJsBundle\StingerMomentJsBundle(),
        // ...
    );
}
```

### Download the bundle using Composer

[](#download-the-bundle-using-composer)

```
$ php composer.phar update stinger/momentjs-bundle
```

### Install assets

[](#install-assets)

Given your server's public directory is named "web", install the public vendor resources

```
$ php app/console assets:install web
```

Optionally, use the --symlink attribute to create links rather than copies of the resources

```
$ php app/console assets:install --symlink web
```

### Usage

[](#usage)

Add the css and js file where needed:

```
{% javascripts
	'bundles/stingermomentjs/js/moment-with-locales.min.js'
%}

{% endjavascripts %}
```

Licenses
========

[](#licenses)

Refer to the source code of the included files for license information

References
==========

[](#references)

1.
2.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

3975d ago

### Community

Maintainers

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

---

Top Contributors

[![Viburnum](https://avatars.githubusercontent.com/u/2122889?v=4)](https://github.com/Viburnum "Viburnum (4 commits)")

---

Tags

symfonyi18nl10nformattimedatevalidateparsemomentender

### Embed Badge

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

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

###  Alternatives

[moment/moment

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

48.1k2.1M37](/packages/moment-moment)[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)[punic/punic

PHP-Unicode CLDR

1542.9M29](/packages/punic-punic)[lexik/translation-bundle

This bundle allows to import translation files content into the database and provide a GUI to edit translations.

4362.7M19](/packages/lexik-translation-bundle)

PHPackages © 2026

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