/php-chinese-lunar

**阴历与阳历转换

Primary LanguagePHP

php-chinese-lunar

**阴历与阳历转换

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);