This is a small cli tool built around the openweatherapi to display the current weather information for a given location. At this point this tool only displays the current weather information.
You need php7+, and composer to install this tool.
- clone this repository
cdinto the repocomposer installto install composer dependencies,cp .env.exmaple .envto create environment file- edit
.envfile to add the api token obtained from openweathermap chmod u+x weatherthis command will give executable permissions to the program
⚡ Boom you are done
cdinto the repo if you are not already./weather bangalorewill display weather information for bangalore. The location defaults to London.
- run
composer test

