crlt / lunar-calendar
The Gregorian calendar to Lunar calendar
0.2.0
2018-01-14 11:53 UTC
This package is not auto-updated.
Last update: 2025-04-27 09:08:52 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