A PHP CLI for printing an emoji roughly corresponding to the current moon phase.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
823 B

  1. phasemoji
  2. =========
  3. This is a trivial wrapper around Samir Shah's [php-moon-phase][] which prints
  4. an emoji roughly corresponding to the current moon phase.
  5. [php-moon-phase]: https://github.com/solarissmoke/php-moon-phase/
  6. I was originally pointed to this library by Vijay's [moon][].
  7. [moon]: https://github.com/vijinho/moon
  8. It has no features and is probably wrong.
  9. synopsis
  10. --------
  11. ```sh
  12. ./phasemoji
  13. 🌑
  14. ```
  15. installing
  16. ----------
  17. ```sh
  18. git clone http://code.p1k3.com/gitea/brennen/phasemoji.git
  19. cd phasemoji
  20. # you may need to install composer: https://getcomposer.org/download/
  21. composer install
  22. # or possibly:
  23. php composer.phar install
  24. ```
  25. author
  26. ------
  27. Brennen Bearnes
  28. https://p1k3.com/
  29. copying
  30. -------
  31. Samir Shah's php-moon-phase is MIT, so for this bit of boilerplate I guess
  32. we'll go with the same.