seno19/weather

v1.0.8 2020-12-20 14:22 UTC

This package is auto-updated.

Last update: 2024-03-20 21:43:09 UTC


README

Build Status

Scrutinizer Code Quality Code Coverage Build Status

Weather module

This module is meant to be used with the anax framework for php. To install the module follow the steps bellow.

Navigate to the root of your anax file structure.

1: Install the module

run the following command

composer require seno19/weather

2: Copy files

run the following commands

rsync -av vendor/seno19/weather/config ./
rsync -av vendor/seno19/weather/view ./
rsync -av vendor/seno19/weather/src ./

and if you want to run the tests run the following command rsync -av vendor/seno19/weather/test ./

3: API-keys

in config/api/keys.php add your api-keys

you can find the keys here
ipstack
openweathermap

4: Navbar

in config/navbar/header.php add the following

[
    "text" => "DI",
    "url" => "di",
    "title" => "di",
],