PHPackages                             claudejanz/yii2-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. claudejanz/yii2-moment

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

claudejanz/yii2-moment
======================

asset loader for moment.js

v1.0(8y ago)1631BSD-4-ClausePHPPHP &gt;=5.4.0

Since Nov 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/claudejanz/yii2-moment)[ Packagist](https://packagist.org/packages/claudejanz/yii2-moment)[ RSS](/packages/claudejanz-yii2-moment/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (2)Used By (1)

Yii2 Moment
===========

[](#yii2-moment)

An simple Asset loader to load moment.js [website](https://momentjs.com/)

[![Latest Stable Version](https://camo.githubusercontent.com/41f9726caa1c5ff46afb62f970bda31d3bdc9ba145426af985a558ab751e9090/68747470733a2f2f706f7365722e707567782e6f72672f636c617564656a616e7a2f796969322d6d6f6d656e742f762f737461626c65)](https://packagist.org/packages/claudejanz/yii2-moment) [![Total Downloads](https://camo.githubusercontent.com/cf93bd1bcf815adf33f583a1c4d34c05af0fefa83857e7b46fd24db4c4d20b25/68747470733a2f2f706f7365722e707567782e6f72672f636c617564656a616e7a2f796969322d6d6f6d656e742f646f776e6c6f616473)](https://packagist.org/packages/claudejanz/yii2-moment) [![Latest Unstable Version](https://camo.githubusercontent.com/656235efb515208ea06283b1feace1ec0c0c04c83e4f5d5428774e0c54380b36/68747470733a2f2f706f7365722e707567782e6f72672f636c617564656a616e7a2f796969322d6d6f6d656e742f762f756e737461626c65)](https://packagist.org/packages/claudejanz/yii2-moment) [![License](https://camo.githubusercontent.com/d1faef298abd4c6340d542915bf7b67a81e0bf0ceda1a08f8b98068fe34ebe66/68747470733a2f2f706f7365722e707567782e6f72672f636c617564656a616e7a2f796969322d6d6f6d656e742f6c6963656e7365)](https://packagist.org/packages/claudejanz/yii2-moment)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist claudejanz/yii2-moment "*"

```

or add

```
"claudejanz/yii2-moment": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your view by:

```
use claudejanz\yii2moment\MomentAsset
MomentAsset::register($this->view);
```

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

3197d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1180289?v=4)[Claude JANZ](/maintainers/claudejanz)[@claudejanz](https://github.com/claudejanz)

---

Tags

yii2extensionmoment

### Embed Badge

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

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

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13926.0k65](/packages/skeeks-cms)[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[sjaakp/yii2-taggable

Manage tags of ActiveRecord in Yii2.

2933.2k](/packages/sjaakp-yii2-taggable)

PHPackages © 2026

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