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

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

elpr/anax-weather-module
========================

Anax weather module.

v2.0.0(6y ago)09MITPHPPHP &gt;=7.2CI failing

Since Dec 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/pererselena/anax-weather-module)[ Packagist](https://packagist.org/packages/elpr/anax-weather-module)[ RSS](/packages/elpr-anax-weather-module/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (10)Versions (4)Used By (0)

anax-weather-module
===================

[](#anax-weather-module)

[![Build Status](https://camo.githubusercontent.com/d90338f338ca49ad6d729f76b37b6010bdb72e55eb0453ad09558da5d5b9f939/68747470733a2f2f7472617669732d63692e6f72672f706572657273656c656e612f616e61782d776561746865722d6d6f64756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pererselena/anax-weather-module)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e730c0f82b1d6c1a58b57c57278219a55081402bec2addab8c1326440c340833/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706572657273656c656e612f616e61782d776561746865722d6d6f64756c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/pererselena/anax-weather-module/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/cd6d622c87e9cfb48d202aede3b8f79dec4507fd303470cc73a6f2f6e271164c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706572657273656c656e612f616e61782d776561746865722d6d6f64756c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/pererselena/anax-weather-module/?branch=master)[![Build Status](https://camo.githubusercontent.com/0291d7108f6b22928bf28c4a97ddc1df9e4bcb8a405782ebb03db3e7a0ed576e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706572657273656c656e612f616e61782d776561746865722d6d6f64756c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/pererselena/anax-weather-module/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/0fad5a1504d56dbcc3f9b4f16e497fb80b53cfc29f987cdfeaaa627619ea4b0f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706572657273656c656e612f616e61782d776561746865722d6d6f64756c652f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![CircleCI](https://camo.githubusercontent.com/6af32e0a1be18a8d9cae5d92296652f14919b175a5dca2baeb1ed63e605983f3/68747470733a2f2f636972636c6563692e636f6d2f67682f706572657273656c656e612f616e61782d776561746865722d6d6f64756c652e7376673f7374796c653d737667)](https://circleci.com/gh/pererselena/anax-weather-module)[![Maintainability](https://camo.githubusercontent.com/505b2606313b630677761ec8890c30f9224350e95e48ad960e98b8df6b006d57/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f61636364323136323034616465316132323061662f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/pererselena/anax-weather-module/maintainability)

Table of content
----------------

[](#table-of-content)

- [Install as Anax module](#Install-as-Anax-module)
- [Dependency](#Dependency)
- [License](#License)

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

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

This is how you install the module into an existing Anax installation.

Install using composer.

```
composer require elpr/anax-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. The script executes the default installation.

```
bash vendor/elpr/anax-weather-module/.anax/scaffold/postprocess.d/300_weather.bash

```

The postprocessing script should be run after the `composer require` is done.

### Manual installation

[](#manual-installation)

Copy the needed configuration and setup the anax-weather-module as a route handler for the route `weather`.

```
rsync -av vendor/elpr/anax-weather-module/config ./

```

```
rsync -av vendor/elpr/anax-weather-module/src ./

```

```
rsync -av vendor/elpr/anax-weather-module/view ./

```

```
rsync -av vendor/elpr/anax-weather-module/test ./

```

```
rsync -av vendor/elpr/anax-weather-module/weather ./htdocs/img/

```

The anax-weather-module is now active on the route `weather/`. According to the API documentation you may try it out on the route `json_weather` to get a json response.

### API keys

[](#api-keys)

Create a new `config/api_keys.php` and store your API keys there. You can see example `config/api_keys_ex.php`.

Dependency
----------

[](#dependency)

This is a Anax modulen 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 Elena Perers

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Every ~3 days

Total

3

Last Release

2340d ago

Major Versions

v1.0.1 → v2.0.02019-12-12

### Community

Maintainers

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

---

Top Contributors

[![pererselena](https://avatars.githubusercontent.com/u/42962317?v=4)](https://github.com/pererselena "pererselena (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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