PHPackages                             daib17/forecast - 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. daib17/forecast

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

daib17/forecast
===============

Anax weather forecast module.

v1.3.1(7y ago)029MITPHPPHP &gt;=7.2

Since Dec 18Pushed 7y agoCompare

[ Source](https://github.com/daib17/forecast)[ Packagist](https://packagist.org/packages/daib17/forecast)[ RSS](/packages/daib17-forecast/feed)WikiDiscussions master Synced 3d ago

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

Weather Forecast Module
=======================

[](#weather-forecast-module)

[![Build Status](https://camo.githubusercontent.com/7eb1fef126b04d99108cb3153149c52c85a66c47539934def40df8f4a53a567b/68747470733a2f2f7472617669732d63692e636f6d2f6461696231372f666f7265636173742e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/daib17/forecast/)[![CircleCI](https://camo.githubusercontent.com/b687aff6589e085d27e61fea7e5d0c7ed0aa23e92c28ba5bbf60029f31fbb6bb/68747470733a2f2f636972636c6563692e636f6d2f67682f6461696231372f666f7265636173742e7376673f7374796c653d737667)](https://circleci.com/gh/daib17/forecast)[![Build Status](https://camo.githubusercontent.com/ebda88749102ffae4842051183babc28ee813373a1c92705ab4a4634452f4055/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461696231372f666f7265636173742f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/daib17/forecast/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/fac2b8ba0e0df6b72463be364cf460a0d81e77418c6e35a65a090aa5e3c36528/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461696231372f666f7265636173742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/daib17/forecast/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/ec64a0201a5e3ae306275dc33a7fe79e5bb40c916e0ee025e4798d283a4415b6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461696231372f666f7265636173742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/daib17/forecast/?branch=master)

The Weather Forecast module allows you to request both forecasts and historical weather data from the past month.

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

[](#table-of-content)

- [Install as Anax module](#Install-as-Anax-module)
- [Install using scaffold postprocessing file](#Install-using-scaffold-postprocessing-file)
- [Install and setup Anax](#Install-and-setup-Anax)
- [Dependency](#Dependency)
- [License](#License)

You can also read this [documentation online](https://github.com/daib17/forecast).

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 daib17/forecast

```

Copy the needed configuration and setup the forecast as a route handler for the route `forecast`.

```
rsync -av vendor/daib17/forecast/config ./
rsync -av vendor/daib17/forecast/src ./
rsync -av vendor/daib17/forecast/test ./
rsync -av vendor/daib17/forecast/view ./

```

The module is now active on the route `forecast/`. You may try it out on the route `json/forecast` to get results in JSON format.

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, as outlined above.

```
bash vendor/daib17/forecast/.anax/scaffold/postprocess.d/700_forecast.bash

```

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

Install and setup Anax
----------------------

[](#install-and-setup-anax)

You need a Anax installation, before you can use this module. You can create a sample Anax installation, using the scaffolding utility [`anax-cli`](https://github.com/canax/anax-cli).

Scaffold a sample Anax installation `anax-site-develop` into the directory `weather`.

```
$ anax create weather anax-site-develop
$ cd weather

```

Point your webserver to `weather/htdocs` and Anax should display a Home-page.

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) 2018 Daniel Ibanez

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

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

12

Last Release

2701d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8291650dc3666828279d31be6b475d570522b79d8f4c2b7fc51d043a1b1fab50?d=identicon)[daib17](/maintainers/daib17)

---

Top Contributors

[![dibanezalegria](https://avatars.githubusercontent.com/u/9461156?v=4)](https://github.com/dibanezalegria "dibanezalegria (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/daib17-forecast/health.svg)

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

PHPackages © 2026

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