Download the PHP package evilbengt/weather without Composer
On this page you can find all versions of the php package evilbengt/weather. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package weather
bthramverk1-weather
Module for weather services.
Installation
-
Copy folders
/src
,/config
,/view
to the anax installation. If installed with composer, these files can be found in[ANAX_INSTALL_PATH]/vendor/evilbengt/weather/
. If you have rsync installed, you may run the following commands from your anax install path to do this automatically:rsync -av vendor/evilbengt/weather/src/ src/
rsync -av vendor/evilbengt/weather/config/ config/
rsync -av vendor/evilbengt/weather/view/ view/
-
A sample config-file can be found in
[ANAX_INSTALL_PATH]/config/weather
. Renameconfig_sample.txt
toconfig.php
and replace anyAPI_KEY_GOES_HERE
with your corresponding key. -
The module's services is now accessible on
/weather
and/weather/api
. See/weather/api/doc
for documentation on how to use the API. - To add the services to the navbar, you may use the sample-file
[ANAX_INSTALL_PATH]/config/navbar/weather-navbar-sample.txt
.