定制 netglue/moontool 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

netglue/moontool

Composer 安装命令:

composer require netglue/moontool

包简介

Library class for calculation of moon phases

README 文档

README

This is port in PHP of the moontool C program written by John Walker http://www.fourmilab.ch/

I know nothing about planetary physics, but managed to muddle my way through the code and mostly figure out what was going on. There's a lot of static methods going on... Anyway, the times it produces are consistent with what NASA has to say so I'm happy!

I originally put it together to help decorate tide tables with the lunar phases for a client and thought it might be useful to others so here it is.

There is little inline documentation of the source - and it could do with a clean up and some extra love. I'll get around to it at some point...

If you use this utility, I'd love to know about it and hope it turns out to be useful. You can get in touch at netglue.co/contact

GETTING MOONTOOL

Get a copy of the source from BitBucket at

git clone git@bitbucket.org:netglue/moontool.git

Install it into your project using composer.

require "netglue/moontool": "dev-master"

SYSTEM REQUIREMENTS

PHP 5.3+

INSTALLATION

Please see INSTALL.md.

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2012-11-12