PHPackages                             guojikai/plunar - 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. guojikai/plunar

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

guojikai/plunar
===============

一个PHP版中国阴历转换工具，用于将阳历日期转换为中国阴历日期。(支持 Composer)

v1.1.1(9y ago)2457611[2 issues](https://github.com/guojikai/plunar/issues)MITPHPPHP &gt;=5.4.0

Since Jan 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/guojikai/plunar)[ Packagist](https://packagist.org/packages/guojikai/plunar)[ Docs](https://github.com/guojikai/plunar)[ RSS](/packages/guojikai-plunar/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Plunar
======

[](#plunar)

一个PHP版中国阴历转换工具，用于将阳历日期转换为中国阴历日期。

[![Total Downloads](https://camo.githubusercontent.com/2a06cd56e716f9a29a719bf847f94cc41bc44b826cd42a334d8b61fd47e9c1e8/68747470733a2f2f706f7365722e707567782e6f72672f67756f6a696b61692f706c756e61722f646f776e6c6f616473)](https://packagist.org/packages/guojikai/plunar)[![Latest Stable Version](https://camo.githubusercontent.com/30d0e23f2a3788634b906c3b6b1d5cae8aab969b14032766757171bf32f2e0df/68747470733a2f2f706f7365722e707567782e6f72672f67756f6a696b61692f706c756e61722f762f737461626c65)](https://packagist.org/packages/guojikai/plunar)[![Latest Unstable Version](https://camo.githubusercontent.com/095bedb34e5e2de5def90609ca73883bbc695e142d8469cb8c4d00bec5cf3d0e/68747470733a2f2f706f7365722e707567782e6f72672f67756f6a696b61692f706c756e61722f762f756e737461626c65)](https://packagist.org/packages/guojikai/plunar)[![License](https://camo.githubusercontent.com/d597220585368adc65553f99f8b9b48fab5830b65699f9d020d6ff77fc683bfd/68747470733a2f2f706f7365722e707567782e6f72672f67756f6a696b61692f706c756e61722f6c6963656e7365)](https://packagist.org/packages/guojikai/plunar)[![Build Status](https://camo.githubusercontent.com/a4f2b4a41e8996793563b03d7945a61c9568a5f05b2db8fe36fd39cf84815a61/68747470733a2f2f7472617669732d63692e6f72672f67756f6a696b61692f706c756e61722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/guojikai/plunar)

安装
--

[](#安装)

使用 Composer 安装：

```
composer require guojikai/plunar

```

在入口文件引入 Composer 启动脚本： (eg. index.php)

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

使用
--

[](#使用)

```

```

输出：

```
array:7 [
  0 => "一九八四" //阴历年
  1 => "八月" //阴历月
  2 => "廿七" //阴历日
  3 => "甲子" //天干地支
  4 => "鼠" //生肖
  5 => "闰十月" //闰月
  6 => array:3 [ //阴历日期对应数字
    0 => 1984
    1 => 8
    2 => 27
  ]
]
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 89.5% 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 ~248 days

Total

3

Last Release

3323d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/883755?v=4)[Jack Guo](/maintainers/guojikai)[@guojikai](https://github.com/guojikai)

---

Top Contributors

[![guojikai](https://avatars.githubusercontent.com/u/883755?v=4)](https://github.com/guojikai "guojikai (34 commits)")[![larryli](https://avatars.githubusercontent.com/u/10723?v=4)](https://github.com/larryli "larryli (4 commits)")

---

Tags

laraveldatelunar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/guojikai-plunar/health.svg)

```
[![Health](https://phpackages.com/badges/guojikai-plunar/health.svg)](https://phpackages.com/packages/guojikai-plunar)
```

###  Alternatives

[maherelgamil/arabicdatetime

Easy and useful tool to generate arabic or hijri date with multi-language support for laravel

414.6k](/packages/maherelgamil-arabicdatetime)[aloko/nova-persian-datepicker

Persian Datepicker for Laravel Nova.

203.7k](/packages/aloko-nova-persian-datepicker)[p3ym4n/jdate

Date converter from Jalali to Georgian and vice versa. It has Carbon instance inside and it's Laravel friendly.

101.8k2](/packages/p3ym4n-jdate)

PHPackages © 2026

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