PHPackages                             jespernyhlen/weather-module - 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. jespernyhlen/weather-module

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

jespernyhlen/weather-module
===========================

Weather module for anax

v1.1.0(6y ago)014MITPHPPHP ^7.2CI failing

Since Dec 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/jespernyhlen/weather-module)[ Packagist](https://packagist.org/packages/jespernyhlen/weather-module)[ RSS](/packages/jespernyhlen-weather-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/3563da76fdb30435e19446ef87d641ce0a3f85d4e4ed6f03be676dd880d2a0e3/68747470733a2f2f7472617669732d63692e6f72672f6a65737065726e79686c656e2f776561746865722d6d6f64756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jespernyhlen/weather-module)
[![Build Status](https://camo.githubusercontent.com/30ebf26f4de384b68b5fa723b508ad7688fc8dc20cfdb5ea572f3c1507486eda/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a65737065726e79686c656e2f776561746865722d6d6f64756c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jespernyhlen/weather-module/build-status/master) [![Code Coverage](https://camo.githubusercontent.com/d708aadeef610d64bf4a55d174d4a8e783f6ae9d45f933a8e10e2610764c261f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a65737065726e79686c656e2f776561746865722d6d6f64756c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jespernyhlen/weather-module/?branch=master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/d24edfb963d8ab5ef1b90d2aeb2fbe3a66bbc22cb70c9b2bf5c41ab345dfb79c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a65737065726e79686c656e2f776561746865722d6d6f64756c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jespernyhlen/weather-module/?branch=master)

Anax weather module
===================

[](#anax-weather-module)

This weather module works together with an Anax installation. Webinterface that displays weather forecast for nextcoming days and previous month. REST API for weather forecast working with method GET, returns JSON data.

Install as Anax module
----------------------

[](#install-as-anax-module)

This is how you install the module into an existing [Anax](https://packagist.org/packages/anax/anax-ramverk1-me) installation.

### Install using composer

[](#install-using-composer)

```
composer require jespernyhlen/weather-module

```

### Install using scaffold postprocessing file

[](#install-using-scaffold-postprocessing-file)

The module supports a postprocessing installation script, to be used with Anax scaffolding.

```
bash vendor/jespernyhlen/weather-module/.anax/scaffold/postprocess.d/450_weather.bash

```

Run this script after `composer require` is done or use the commands below for step by step installation.

**Important:** Change the key in Config/key\_darksky to a valid API key.

### Configuration and Service setup

[](#configuration-and-service-setup)

Copy the configuration files and setup the weather-module as a route handler for the route `weather/web` (webinterface) and `weather/weather-api` (api endpoint).

```
rsync -av vendor/jespernyhlen/weather-module/config ./

```

**Important:** Change the key in Config/key\_darksky to a valid API key.

### View files

[](#view-files)

Copy the view files related to the module and included documentation.

```
rsync -av vendor/jespernyhlen/weather-module/view ./

```

### Src files

[](#src-files)

Copy the src files including controllers and models.

```
rsync -av vendor/jespernyhlen/weather-module/src ./

```

### Extra, Copy the test files

[](#extra-copy-the-test-files)

Copy testfiles with included testcases using phpunit.

```
rsync -av vendor/jespernyhlen/weather-module/test ./

```

Dependency
----------

[](#dependency)

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

License
-------

[](#license)

This software carries a MIT license. See [LICENSE.txt](LICENSE.txt) for details.

```
 .
..:  Copyright (c) 2019 Jesper Nyhlén (jeppe_nyhlen@hotmail.com)

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2346d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d8f586bb5b4a499c9492cc0875e92edd9afa0992c3520458b2f84f246899263?d=identicon)[jespernyhlen](/maintainers/jespernyhlen)

---

Top Contributors

[![jespernyhlen](https://avatars.githubusercontent.com/u/22455662?v=4)](https://github.com/jespernyhlen "jespernyhlen (20 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jespernyhlen-weather-module/health.svg)

```
[![Health](https://phpackages.com/badges/jespernyhlen-weather-module/health.svg)](https://phpackages.com/packages/jespernyhlen-weather-module)
```

###  Alternatives

[norkunas/youtube-dl-php

youtube-dl / yt-dlp wrapper for php

512323.2k15](/packages/norkunas-youtube-dl-php)[browner12/helpers

generic helpers

289676.6k7](/packages/browner12-helpers)[tonysm/importmap-laravel

Use ESM with importmap to manage modern JavaScript in Laravel without transpiling or bundling.

148399.8k1](/packages/tonysm-importmap-laravel)[duncan3dc/fork-helper

Simple class to fork processes in PHP and allow multi-threading

73548.0k4](/packages/duncan3dc-fork-helper)[trntv/yii2-aceeditor

Yii2 ajax.org Ace Editor widget

43787.5k20](/packages/trntv-yii2-aceeditor)

PHPackages © 2026

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