I had this backwards because terminals and also because it's not super obvious that a gray moon emoji doesn't look like the full moon on most platforms.
|1 year ago|
|.gitignore||1 year ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
|composer.json||1 year ago|
|phasemoji||1 year ago|
This is a trivial wrapper around Samir Shah's php-moon-phase which prints an emoji roughly corresponding to the current moon phase.
I was originally pointed to this library by Vijay's moon.
It has no features and is probably wrong.
git clone http://code.p1k3.com/gitea/brennen/phasemoji.git cd phasemoji # you may need to install composer: https://getcomposer.org/download/ composer install # or possibly: php composer.phar install
Samir Shah's php-moon-phase is MIT, so for this bit of boilerplate I guess we'll go with the same.