PHPackages                             bazipaipan/bazipaipan - 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. bazipaipan/bazipaipan

ActiveLibrary

bazipaipan/bazipaipan
=====================

PHP八字排盘插件 - 根据出生信息计算八字命盘，支持公农历转换、真太阳时计算

v1.0.1(yesterday)13↑2900%MITPHPPHP &gt;=5.6.0

Since Mar 23Pushed yesterdayCompare

[ Source](https://github.com/bangbangce/bazipaipan)[ Packagist](https://packagist.org/packages/bazipaipan/bazipaipan)[ Docs](https://github.com/bangbangce/bazipaipan)[ RSS](/packages/bazipaipan-bazipaipan/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

专业的PHP八字排盘插件 (BaziPaipan)
=========================

[](#专业的php八字排盘插件-bazipaipan)

[![Packagist](https://camo.githubusercontent.com/b74d209fac250a5908b16be62960892a93839b383d700f73a38c0d52c17e8add/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62617a6970616970616e2f62617a6970616970616e2e737667)](https://packagist.org/packages/bazipaipan/bazipaipan)[![License](https://camo.githubusercontent.com/118e6215458efea0505b62119f31a585134c232ede6a04f90f2fd691a63c7cee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f62617a6970616970616e2f62617a6970616970616e2e737667)](https://github.com/bangbangce/bazipaipan/blob/main/LICENSE)

一个纯PHP实现的八字排盘插件，无需依赖任何框架，支持公农历转换、真太阳时计算。

✨ 功能特性
------

[](#-功能特性)

- ✅ 公历转农历 / 农历转公历
- ✅ 真太阳时计算（支持300+中国城市）
- ✅ 四柱（年柱、月柱、日柱、时柱）干支计算
- ✅ 五行属性查询
- ✅ 纳音五行
- ✅ 十神关系计算
- ✅ 长生十二宫
- ✅ 生肖查询
- ✅ 无框架依赖，纯PHP实现

📦 安装
----

[](#-安装)

```
composer require bazipaipan/bazipaipan
```

🚀 快速开始
------

[](#-快速开始)

### 创建八字排盘

[](#创建八字排盘)

```
