PHPackages                             nihl/weatherreport - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nihl/weatherreport

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nihl/weatherreport
==================

Anax weather module

v1.1.0(5y ago)0251MITPHPPHP ^7.2

Since Dec 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/nilshollmer/weather-report)[ Packagist](https://packagist.org/packages/nihl/weatherreport)[ RSS](/packages/nihl-weatherreport/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (12)Versions (6)Used By (0)

Weather report
==============

[](#weather-report)

[![Build Status](https://camo.githubusercontent.com/89204baf098feb5b19964089206d6a6719379fadc22cede1968315a07de11347/68747470733a2f2f7472617669732d63692e636f6d2f6e696c73686f6c6c6d65722f776561746865722d7265706f72742e7376673f6272616e63683d6d61696e)](https://travis-ci.com/nilshollmer/weather-report)[![CircleCI](https://camo.githubusercontent.com/98c002502d184bcf13f3ccf09bdc1bde14ac96a3121f67186b23275bc5effe0b/68747470733a2f2f636972636c6563692e636f6d2f67682f6e696c73686f6c6c6d65722f776561746865722d7265706f72742e7376673f7374796c653d737667)](https://app.circleci.com/pipelines/github/nilshollmer/weather-report)[![Join the chat at https://gitter.im/nilshollmer/weather-report](https://camo.githubusercontent.com/d26f152a5f92776fa58e0ea4cb3409d98d165880cc06e6aa814d191816651e9f/68747470733a2f2f6261646765732e6769747465722e696d2f6e696c73686f6c6c6d65722f776561746865722d7265706f72742e737667)](https://gitter.im/nilshollmer/weather-report?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e02e063467c50d465ee4b61101fa2f807e496eeb9cacef1a20d06b874f8e65d5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e696c73686f6c6c6d65722f776561746865722d7265706f72742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/nilshollmer/weather-report/?branch=main)[![Build Status](https://camo.githubusercontent.com/829e40b93ea2d0c814d4456c8d8c712f44b2cff62759220d1d91fc6923e98472/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e696c73686f6c6c6d65722f776561746865722d7265706f72742f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/nilshollmer/weather-report/build-status/main)

Anax weather report module for fetching and displaying weather prognosis data.

The module is designed to be used with external services [ipstack](https://ipstack.com/) and [openweathermap](https://openweathermap.org/api).

Installation
------------

[](#installation)

**1:**
Install this module into your existing Anax installation using composer.
`composer require nihl/weatherreport`

**2:**
Integrate it by copying the configuration using the following command:

```
# Root of your Anax based repository
rsync -av vendor/nihl/weatherreport/config ./

rsync -av vendor/nihl/weatherreport/view ./

# If you want to test the source code you can also copy the test-catalogue
rsync -av vendor/nihl/weatherreport/test ./

# If you want to edit the source code you can also copy the src-catalogue
rsync -av vendor/nihl/weatherreport/src ./

```

**3:**
Sign up for an account at [ipstack](https://ipstack.com/) and [openweathermap](https://openweathermap.org/api). Update apikey-configuration file with your apikeys for ipstack and openweathermap:

```
# config/apikeys.php

return $apikeys = [
    "ipstack" => "your_ipstack_apikey",
    "openweather" => "your_openweathermap_apikey"
];

```

**4:**
Add your apikey-configuration file to your `.gitignore`.

```
# .gitignore
config/apikeys.php

```

**5:**
The weatherreport module is now available in your Anax installation.
Add it to your navbar with the following code:

```
# config/navbar/header
return [
    "items" => [
        ...
        [
            "text" => "Weather",
            "url" => "weatherreport",
            "title" => "Weather report",
            "submenu" => [
                "items" => [
                    [
                        "text" => "Rest API",
                        "url" => "weatherreport/api",
                        "title" => "Weather report-API"
                    ],
                ],
            ],
        ],
    ],
];

```

Dependency
----------

[](#dependency)

This is a Anax module and its usage is primarly intended to be together with the Anax framework.

You can install an instance on [anax/anax](https://github.com/canax/anax) and run this module inside it, to try it out for test and development.

The repo "[my redovisa-page](https://github.com/nilshollmer/redovisning-ramverk1)" is an example of how that can be done.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

4

Last Release

1972d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f785fee0f6ef6b49e629b9340c2b1bcfc7d17700a8b90ce3113c586ba9cb08f1?d=identicon)[nihl](/maintainers/nihl)

---

Top Contributors

[![nilshollmer](https://avatars.githubusercontent.com/u/24221756?v=4)](https://github.com/nilshollmer "nilshollmer (26 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nihl-weatherreport/health.svg)

```
[![Health](https://phpackages.com/badges/nihl-weatherreport/health.svg)](https://phpackages.com/packages/nihl-weatherreport)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
