crlt / lunar-calendar
The Gregorian calendar to Lunar calendar
Installs: 211
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/crlt/lunar-calendar
This package is not auto-updated.
Last update: 2025-09-28 11:08:50 UTC
README
Just for practice composer tool usage myself
Install
composer require crlt/lunar-calendar
Usage
<?php require_once "vendor/autoload.php"; use Crlt_\LunarCalendar\LunarCalendar; $lunar = new LunarCalendar(); echo $lunar->toLunar(2017,8,16);
Reference
- https://github.com/NearXdu/chinese-calendar
- http://blog.jjonline.cn/userInterFace/173.html
- https://github.com/echosoar/gdate/blob/master/0.1.2/gdate_0.1.2.js
License
MIT