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

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

algn/weather
============

Test

4.0.0(6y ago)022[1 PRs](https://github.com/AlexanderGranhof/weather/pulls)MITHTMLCI failing

Since Dec 5Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/AlexanderGranhof/weather)[ Packagist](https://packagist.org/packages/algn/weather)[ RSS](/packages/algn-weather/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (1)Versions (8)Used By (0)

[![CircleCI](https://camo.githubusercontent.com/c602122d1d99640823c0321ead32ecd24b5f35db25b07da826f176e561d064a6/68747470733a2f2f636972636c6563692e636f6d2f67682f416c6578616e6465724772616e686f662f776561746865722e7376673f7374796c653d737667)](https://circleci.com/gh/AlexanderGranhof/weather)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cc4b41e85ddff2e57ec24b889e02436322abcb3b534e4ca3a5fcca4b9417f3c0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f416c6578616e6465724772616e686f662f776561746865722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/AlexanderGranhof/weather/?branch=master)[![Code Intelligence Status](https://camo.githubusercontent.com/dc82845b2f4855c374a41e49902a2b622f8f1d95ba04c22030e59ab53988d65d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f416c6578616e6465724772616e686f662f776561746865722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

Usage
-----

[](#usage)

Require the file via the namespace `algn/DarkSky` and createa new instance of the class by passing your api key in the constructor.

You can use the following methods to retrieve data from dark sky.

`today()` - Returns weather data from today `week()` - Returns weather data from today and a week ahead `past30Days()` - Returns data from the past month

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance49

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

6

Last Release

2393d ago

Major Versions

1.0.6 → 4.0.02019-12-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23215933?v=4)[Algn](/maintainers/Algn)[@algn](https://github.com/algn)

---

Top Contributors

[![AlexanderGranhof](https://avatars.githubusercontent.com/u/34691326?v=4)](https://github.com/AlexanderGranhof "AlexanderGranhof (32 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[bvipul/generator

To create a whole module with all related files like model, controller, repository, routes, views etc with a simple GUI.

1931.0k](/packages/bvipul-generator)

PHPackages © 2026

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