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
cd
into the repocomposer install
to install composer dependencies,cp .env.exmaple .env
to create environment file- edit
.env
file to add the api token obtained from openweathermap chmod u+x weather
this command will give executable permissions to the program
⚡ Boom you are done
cd
into the repo if you are not already./weather bangalore
will display weather information for bangalore. The location defaults to London.
- run
composer test