2017 © Pedro Peláez
 

library moontool

Library class for calculation of moon phases

image

netglue/moontool

Library class for calculation of moon phases

  • Monday, November 12, 2012
  • by netglue
  • Repository
  • 0 Watchers
  • 0 Stars
  • 9 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Net Glue Moon Tool Port

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

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!, (*2)

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., (*3)

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..., (*4)

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, (*5)

GETTING MOONTOOL

Get a copy of the source from BitBucket at, (*6)

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

Install it into your project using composer., (*7)

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

SYSTEM REQUIREMENTS

PHP 5.3+, (*8)

INSTALLATION

Please see INSTALL.md., (*9)

The Versions

12/11 2012

dev-master

9999999-dev http://netglue.bitbucket.org/moontool/

Library class for calculation of moon phases

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

netglue moontool