PHPackages                             wsu-das/degreedays - 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. wsu-das/degreedays

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

wsu-das/degreedays
==================

Library providing Degree Day calculation

v1.0.0(2y ago)05PHPPHP ^8.1

Since Apr 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wsu-das/degreedays)[ Packagist](https://packagist.org/packages/wsu-das/degreedays)[ RSS](/packages/wsu-das-degreedays/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Degree-Day Calculator
=====================

[](#degree-day-calculator)

The calculator offers two methods for calculating degree-days using daily temperatures and upper/lower cutoff(s):

- `degreedays()` (alias `dd()`): calculates using the single-sine method [more info](http://ipm.ucanr.edu/WEATHER/ddconcepts.html)
- `degreedaysAvg()`: less accurate, it uses an approximate formula using just the mean temperature

```
use WsuDas\Degreedays\Calculator;

$dd = Calculator::degreedays($tmax, $tmin, $lower, $upper, $cutoff);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

742d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ecca90669fe96d5be841ab98e1888753a12f8181589ecc7a2a64003e1420c42?d=identicon)[WSU Decision Aid System](/maintainers/WSU%20Decision%20Aid%20System)

---

Top Contributors

[![stebogit](https://avatars.githubusercontent.com/u/12717225?v=4)](https://github.com/stebogit "stebogit (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wsu-das-degreedays/health.svg)

```
[![Health](https://phpackages.com/badges/wsu-das-degreedays/health.svg)](https://phpackages.com/packages/wsu-das-degreedays)
```

PHPackages © 2026

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