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

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

bashikr/weather-module
======================

Anax weather module.

v2.10.0(5y ago)024MITPHPPHP &gt;=7.4

Since Dec 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bashikr/weather-module)[ Packagist](https://packagist.org/packages/bashikr/weather-module)[ Docs](http://www.student.bth.se/~baaa19/dbwebb-kurser/ramverk1/me/redovisa/htdocs/)[ RSS](/packages/bashikr-weather-module/feed)WikiDiscussions main Synced 1w ago

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

[![Build Status](https://camo.githubusercontent.com/2783a9656bf86769552481914f0c529e3c5364bd8c49d3ec7085647fda738254/68747470733a2f2f7472617669732d63692e636f6d2f62617368696b722f776561746865722d6d6f64756c652e7376673f6272616e63683d6d61696e)](https://travis-ci.com/bashikr/weather-module)[![CircleCI](https://camo.githubusercontent.com/6f1ae89078841875980d4091a3fbcfa2361e712f597054673603c46186748db4/68747470733a2f2f636972636c6563692e636f6d2f67682f62617368696b722f776561746865722d6d6f64756c652e7376673f7374796c653d737667)](https://app.circleci.com/pipelines/github/bashikr/weather-module)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ece88a1fe95fb6a7637b65e203fb51e59624ef000e6dbf16c3214d65fbcce5b9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617368696b722f776561746865722d6d6f64756c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/bashikr/weather-module/?branch=main)[![Code Coverage](https://camo.githubusercontent.com/ff1d76087111b547d75f263170ccb691a7f58d7077983af4510942f8af4aa941/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617368696b722f776561746865722d6d6f64756c652f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/bashikr/weather-module/?branch=main)[![Build Status](https://camo.githubusercontent.com/73f12e7cc382b16a39ebcd1120163d481853a0f0a92b8113fe15b2a057a13c31/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617368696b722f776561746865722d6d6f64756c652f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/bashikr/weather-module/build-status/main)[![Code Intelligence Status](https://camo.githubusercontent.com/45aec0ca39110cac12e6904d0e970171dfeff8dff4d010da6aee6780d905d70d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617368696b722f776561746865722d6d6f64756c652f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d61696e)](https://scrutinizer-ci.com/code-intelligence)[![Pipeline GitLab](https://camo.githubusercontent.com/0c1bcbe8bd9a32acdc1dcfafb2c2b2406c0290c5419e07a56079f34406bf60c2/68747470733a2f2f6769746c61622e636f6d2f6261736861725f616c74616c65622f776561746865722d6d6f64756c652f6261646765732f6d61696e2f706970656c696e652e7376673f623d6d61696e)](https://gitlab.com/bashar_altaleb/weather-module)

Weather Module (bashikr/weather-module)
=======================================

[](#weather-module-bashikrweather-module)

Anax weather module (weather-module) implements a weather service. You can use this module, together with an Anax installation.

How to use the weather-module as a service?
-------------------------------------------

[](#how-to-use-the-weather-module-as-a-service)

This is a Anax-module and its usage is primarly intended to be together with the Anax framework. You can first install an instance on [anax/anax](https://github.com/canax/anax) and then run this module inside it.

Before you install the moduel, be sure to have the same **autoload and require** structure in your **composer.json** that is located in your Anax-project's root.

```
"autoload": {
    "psr-4": {
        "Anax\\": "src/",
        "Bashar\\": "src/"
    }
},

```

### Install using composer.

[](#install-using-composer)

To install weather-module using composer enter the following command:

```
composer require bashikr/weather-module

```

### You may copy all the module configuration files using scaffold postprocessing file.

[](#you-may-copy-all-the-module-configuration-files-using-scaffold-postprocessing-file)

```
# Go to the root of your Anax base repo
bash vendor/bashikr/weather-module/.anax/scaffold/postprocess.d/700_weather_module.bash

```

Once You have executed the before mentioned bash command, the structure of your ../config/page.php will be changed. Therefore you have to replace the content of page.php again with your original content. Here you can copy the Anax boilerplate code for [page.php](https://github.com/bashikr/ramverk1/blob/v3.1.0/config/page.php)

### Please don't forget to add your tokens inside the config repository:

[](#please-dont-forget-to-add-your-tokens-inside-the-config-repository)

**Insert your weather token inside this file**

```
# Go to the root of your Anax base repo
config/OpnWrMpToken.php

```

**Insert your ip token inside this file**

```
# Go to the root of your Anax base repo
config/geoToken.php

```

**To** kick off with the module, add this route **/ip-weather** to the navbar. You can find the navbar files inside the path:

```
# Go to the root of your Anax base repo

config/navbar/header.php          // The actual navbar

```

```
# Go to the root of your Anax base repo

config/navbar/responsive.php      // The hamburger menu

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~0 days

Total

27

Last Release

1983d ago

Major Versions

v1.6.0 → v2.0.02020-12-10

### Community

Maintainers

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

---

Top Contributors

[![bashikr](https://avatars.githubusercontent.com/u/37884149?v=4)](https://github.com/bashikr "bashikr (27 commits)")

---

Tags

mvcmoduleeducationweather

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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