2017 © Pedro Peláez
 

library plunar

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

image

guojikai/plunar

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

  • Tuesday, May 30, 2017
  • by guojikai
  • Repository
  • 1 Watchers
  • 12 Stars
  • 163 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

Plunar

一个PHP版中国阴历转换工具,用于将阳历日期转换为中国阴历日期。, (*1)

Total Downloads Latest Stable Version Latest Unstable Version License Build Status, (*2)

安装

使用 Composer 安装:, (*3)

composer require guojikai/plunar

在入口文件引入 Composer 启动脚本: (eg. index.php), (*4)

require 'vendor/autoload.php';

使用

getMessage();
    exit;
}

var_dump($lunar_array);

?>

输出:, (*5)

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

The Versions

30/05 2017

dev-master

9999999-dev https://github.com/guojikai/plunar

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

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Avatar guojikai

laravel date lunar

30/05 2017

v1.1.1

1.1.1.0 https://github.com/guojikai/plunar

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

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Avatar guojikai

laravel date lunar

09/12 2016

v1.1

1.1.0.0 https://github.com/guojikai/plunar

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

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Avatar guojikai

laravel date lunar

19/01 2016

v1.0

1.0.0.0 https://github.com/guojikai/plunar

A chinese lunar convert tool,written by PHP. 一个PHP写的中国阴历转换工具,用于将阳历日期转换为中国阴历日期。

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar guojikai

laravel date lunar