资 源 简 介
Introduction
PHP-SWEPH is a PHP extension to Astrodienst Swiss Ephemeris library. It"s statically linked with libswe.a to implement one-to-one, C-to-PHP function mapping, no external binary executable required.
Function Prototype/Implementation Status
Currently, for those function exported by sweph.c, swedate.c, swehouse.c, swephlib.c are implemented. IMHO, it is sufficient for general astrological calculation. Eclipse functions from swecl.c are partially done, but not tested. The heliographic functions in swehel.c are not included.
For function prototypes and implementation status, please refer to the Google doc spreadsheet:
https://spreadsheets.google.com/ccc?key=0Aj0Hh9d0uhcCdFo4V1VpeHB6cGFuZVRtSFkxWHRnUUE&hl=zh_TW
Installation
There"s no binary distribution for download. Please get the source code and compile.
Read this for build an