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

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

lefty/weather
=============

A weather module for the ramverk1 course.

v2.2.3(5y ago)086MITPHP

Since Nov 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/j-lindb73/weather)[ Packagist](https://packagist.org/packages/lefty/weather)[ RSS](/packages/lefty-weather/feed)WikiDiscussions main Synced 1mo ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/1e355ff1d3f78e2210aa113531216cf48d6f5317da53acbd8768e54dcaff8913/68747470733a2f2f706f7365722e707567782e6f72672f6c656674792f776561746865722f762f737461626c65)](https://packagist.org/packages/lefty/weather)[![Build Status](https://camo.githubusercontent.com/d8393682ef27c62ff19c7510c49ff59857cfe0eeb5586663e7dd5d7d30456263/68747470733a2f2f7472617669732d63692e636f6d2f6a2d6c696e646237332f776561746865722e7376673f6272616e63683d6d61696e)](https://travis-ci.com/github/j-lindb73/weather)[![CircleCI](https://camo.githubusercontent.com/b3fe7edfff68b2c540da3dee5c1abfa549ff94c78339e7a6f5d8aa4ad9782df2/68747470733a2f2f636972636c6563692e636f6d2f67682f6a2d6c696e646237332f776561746865722e7376673f7374796c653d737667)](https://circleci.com/gh/j-lindb73/weather/)[![Build Status](https://camo.githubusercontent.com/a78cf0249574c77b384f469ad03fc59dcc151141718cc78f07567a8d7d9df551/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a2d6c696e646237332f776561746865722f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/j-lindb73/weather/build-status/main)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4c0cc1fe58083cb50c191d54741157a52918567f1d829c3b8e0a61f68fc4a3e4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a2d6c696e646237332f776561746865722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/j-lindb73/weather/?branch=main)[![Code Coverage](https://camo.githubusercontent.com/f6969a00f353070ecbef3ad61683d0ef7014369825934bbf0e4e7335d6ba882e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a2d6c696e646237332f776561746865722f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/j-lindb73/weather/?branch=main)

Anax Weather Module
===================

[](#anax-weather-module)

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

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

This is how you install the module into an existing Anax installation, for example an installation of `[anax/anax](https://github.com/canax/anax)`.

(If you don't have an Anax installation you can use a light-weight installation for test. See **ramverk1-me-v2** headline at the bottom)

There are two steps in the installation procedure, 1) first install the module using composer and then 2-3) integrate it into you Anax base installation.

### Step 1, install using composer.

[](#step-1-install-using-composer)

Install the module using composer.

```
composer require lefty/weather

```

You will have to modify your composer file, by adding the following line to the autoload section under like this.

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

```

Once you have modified the composer file, you will need to do composer Update to activate namespace.

```
composer update

```

### Step 2, integrate into your Anax base.

[](#step-2-integrate-into-your-anax-base)

Integrate module parts in Anax with bash-script

Run bash script

```
$ bash vendor/lefty/weather/.anax/scaffold/postprocess.d/6xx_weather.bash

```

### Step 3, API configuration

[](#step-3-api-configuration)

This module use data from APIs and require API-keys to function properly

Place API-key in file `data/PRIVATE_TOKEN` containing ONLY the key in one row.

Additional keys can be configured in `config/keystore.php`.

**API-keys used in this module that need to be configured**

- Geographic localization: [ipstack](https://ipstack.com/)
- Weather data: [OpenWeather global services](https://openweathermap.org/)

Only free-of-charge subscription is used

ramverk1-me-v2
--------------

[](#ramverk1-me-v2)

Install a sample Anax site for test

```
$ anax create testsite ramverk1-me-v2
$ cd testsite

```

### License

[](#license)

This software carries a MIT license.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

10

Last Release

1992d ago

Major Versions

v1.0.0 → v2.0.02020-11-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/652f0963cd51e061c0c76ef1ca8269e48071473f7baf2f8879e1ace79eb2767b?d=identicon)[lefty](/maintainers/lefty)

---

Top Contributors

[![j-lindb73](https://avatars.githubusercontent.com/u/54063208?v=4)](https://github.com/j-lindb73 "j-lindb73 (38 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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