I just finished updating the moon phases WordPress plugin. The new 3.0 version is a major upgrade. The widget code uses WordPress 2.8 widget architecture and I added a shortcode. You just have to put [moon-phases] in your posts or pages to have an embedded widget (see below). Get the moon phases WordPress plugin.