PHPackages                             xypp/flarum-localize-date-lib - 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. xypp/flarum-localize-date-lib

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

xypp/flarum-localize-date-lib
=============================

Datezone configure and date event lib

v1.0.1(1y ago)11.9k—6.3%3MITPHP

Since Sep 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/zxy19/flarum-localize-date-lib)[ Packagist](https://packagist.org/packages/xypp/flarum-localize-date-lib)[ RSS](/packages/xypp-flarum-localize-date-lib/feed)WikiDiscussions master Synced today

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

Localize Date Lib
=================

[](#localize-date-lib)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/bab28a049fbeb08a5707d244529b8387128bf14814d6bd4e904818026dce349c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f787970702f666c6172756d2d6c6f63616c697a652d646174652d6c69622e737667)](https://packagist.org/packages/xypp/flarum-localize-date-lib) [![Total Downloads](https://camo.githubusercontent.com/a81cbed16afeebf5efd65a4a92264a0daea341ae927c8d64666dcfa251160d1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f787970702f666c6172756d2d6c6f63616c697a652d646174652d6c69622e737667)](https://packagist.org/packages/xypp/flarum-localize-date-lib)

A [Flarum](http://flarum.org) extension. Datezone configure and date event lib

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

[](#installation)

As normal user, You will never have to install the extension manually.

Develop
-------

[](#develop)

### Frontend

[](#frontend)

The timezone will be serialized to forum model on attribute `xypp.localize-date.timezone`.

You can use our export function to get some value

- toServerTimezone
- serverDateChangeAt

### Backend

[](#backend)

Use IOC to get the helper `CarbonZoneHelper`

```
$newCarbonObj = $helper->z($carbonObj);//set timezone to the carbon object

$now = $helper->now();//get current time in target timezone
```

Event `DateChangeEvent` will trigger in 00:xx:xx every day.

It's not guaranteed that the event will be triggered at exactly which minute or second.

Links
-----

[](#links)

- [Packagist](https://packagist.org/packages/xypp/flarum-localize-date-lib)
- [GitHub](https://github.com/zxy19/flarum-localize-date-lib)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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

Every ~11 days

Total

2

Last Release

649d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23428495?v=4)[zxy19](/maintainers/zxy19)[@zxy19](https://github.com/zxy19)

---

Top Contributors

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

---

Tags

flarum

### Embed Badge

![Health badge](/badges/xypp-flarum-localize-date-lib/health.svg)

```
[![Health](https://phpackages.com/badges/xypp-flarum-localize-date-lib/health.svg)](https://phpackages.com/packages/xypp-flarum-localize-date-lib)
```

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

12128.3k](/packages/flarum-lang-russian)[fof/byobu

Well integrated, advanced private discussions.

59120.6k13](/packages/fof-byobu)[fof/discussion-language

Specify the language a discussion is written in &amp; sort by language

1034.8k4](/packages/fof-discussion-language)[flarum-lang/french

French language pack to localize the Flarum forum software plus its official and third-party extensions.

1938.7k](/packages/flarum-lang-french)[fof/gamification

Upvotes and downvotes for your Flarum community

4066.1k8](/packages/fof-gamification)[fof/best-answer

Mark a post as the best answer in a discussion

25154.0k20](/packages/fof-best-answer)

PHPackages © 2026

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