PHPackages                             guanhui07/lunar-php - 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. guanhui07/lunar-php

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

guanhui07/lunar-php
===================

lunar是一款无第三方依赖的日历工具，支持公历(阳历)、农历(阴历、老黄历)、佛历和道历，支持星座、儒略日、干支、生肖、节气、节日、彭祖百忌、每日宜忌、吉神宜趋、凶煞宜忌、吉神(喜神/福神/财神/阳贵神/阴贵神)方位、胎神方位、冲煞、纳音、星宿、八字、五行、十神、建除十二值星、青龙名堂等十二神、黄道日及吉凶等。lunar is a calendar library for Solar and Chinese Lunar.

1.3.17(1y ago)04MITPHPPHP &gt;=5.3

Since Nov 25Pushed 1y agoCompare

[ Source](https://github.com/guanhui07/lunar-php)[ Packagist](https://packagist.org/packages/guanhui07/lunar-php)[ Docs](https://github.com/6tail/lunar-php)[ RSS](/packages/guanhui07-lunar-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (51)Used By (0)

lunar [![License](https://camo.githubusercontent.com/40b1d2367eee3cee71256a31188caab5c8aa49f2a8e78be601e5079a9669a1cd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d3445423142412e7376673f7374796c653d666c61742d737175617265)](https://github.com/6tail/lunar-php/blob/master/LICENSE)
==========================================================================================================================================================================================================================================================================================================================

[](#lunar-)

lunar是一款无第三方依赖的日历工具，支持公历(阳历)、农历(阴历、老黄历)、佛历和道历，支持星座、儒略日、干支、生肖、节气、节日、彭祖百忌、每日宜忌、吉神宜趋、凶煞宜忌、吉神(喜神/福神/财神/阳贵神/阴贵神)方位、胎神方位、冲煞、纳音、星宿、八字、五行、十神、建除十二值星、青龙名堂等十二神、黄道日及吉凶等。

此版本基于composer，如果您不会，可以使用[单文件版本](https://github.com/6tail/lunar-php-standalone)。

> 基于php5.3开发。

[English](https://github.com/6tail/lunar-php/blob/master/README_EN.md)

示例
--

[](#示例)

```
composer require 6tail/lunar-php
