PHPackages                             zhusaidong/php-chinese-lunar - 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. zhusaidong/php-chinese-lunar

ActiveLibrary

zhusaidong/php-chinese-lunar
============================

038PHP

Since Jul 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zhusaidong/php-chinese-lunar)[ Packagist](https://packagist.org/packages/zhusaidong/php-chinese-lunar)[ RSS](/packages/zhusaidong-php-chinese-lunar/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

php-chinese-lunar
=================

[](#php-chinese-lunar)

中国阴历与阳历转换

Usage
-----

[](#usage)

```
composer require zhusaidong/php-chinese-lunar:dev-master
```

```
require('./vendor/autoload.php');

use ChineseLunar\Lunar;

$lunar = new Lunar;

$lunarArr= $lunar->toLunarDate(2018,07,03);
var_dump($lunarArr);

$solarArr= $lunar->toSolarDate(2018,'五月','二十');
var_dump($solarArr);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c2e985c6870cd488335da55e8b435d590dc8f887ba795af4f818c18b650c888?d=identicon)[zhusaidong](/maintainers/zhusaidong)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/zhusaidong-php-chinese-lunar/health.svg)

```
[![Health](https://phpackages.com/badges/zhusaidong-php-chinese-lunar/health.svg)](https://phpackages.com/packages/zhusaidong-php-chinese-lunar)
```

PHPackages © 2026

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