PHPackages                             pforret/deduceseason - 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. pforret/deduceseason

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

pforret/deduceseason
====================

deduce season from date and location

1.0.1(2y ago)06MITPHPPHP ^8.2

Since Nov 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/pforret/DeduceSeason)[ Packagist](https://packagist.org/packages/pforret/deduceseason)[ Docs](https://github.com/pforret/deduceseason)[ RSS](/packages/pforret-deduceseason/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

deduce season from date and location
====================================

[](#deduce-season-from-date-and-location)

Github: [![GitHub tag](https://camo.githubusercontent.com/c6badaabad0fd1183b6905b4cc6063af020fef7704d272fefc49886fe3764efa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f70666f727265742f446564756365536561736f6e)](https://camo.githubusercontent.com/c6badaabad0fd1183b6905b4cc6063af020fef7704d272fefc49886fe3764efa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f70666f727265742f446564756365536561736f6e)[![Tests](https://github.com/pforret/DeduceSeason/workflows/Run%20Tests/badge.svg)](https://github.com/pforret/DeduceSeason/workflows/Run%20Tests/badge.svg)

Packagist: [![Packagist Version](https://camo.githubusercontent.com/82e97e3849271748a296d2ac892cb5406a42f89c159328249403a7e643676402/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70666f727265742f646564756365736561736f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pforret/deduceseason)[![Packagist Downloads](https://camo.githubusercontent.com/1776867f8abef907665f2abea6ff82f42c10f5c25bbf09b4e9ad55d1e03e18b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70666f727265742f646564756365736561736f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pforret/deduceseason)

[![](assets/unsplash.seasons.jpg)](assets/unsplash.seasons.jpg)

deduce season from date and location (latitude)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require pforret/deduceseason
```

Usage
-----

[](#usage)

```
$season = DeduceSeason::fromDateAndLatitude('2020-01-01', 52.336) // DeduceSeason::SEASON_WINTER
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email author\_email instead of using the issue tracker.

Credits
-------

[](#credits)

- [Peter Forret](https://github.com/pforret)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Every ~0 days

Total

2

Last Release

916d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/474312?v=4)[Peter Forret](/maintainers/pforret)[@pforret](https://github.com/pforret)

---

Top Contributors

[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (17 commits)")

---

Tags

dategeolocalizationphp8seasonpforretdeduceseason

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pforret-deduceseason/health.svg)

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

###  Alternatives

[ashallendesign/short-url

A Laravel package for creating shortened URLs for your web apps.

1.4k1.9M4](/packages/ashallendesign-short-url)[intervention/zodiac

Zodiac Sign Calculator

58191.7k](/packages/intervention-zodiac)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[solspace/craft-calendar

The most powerful event management and calendaring plugin!

1830.8k1](/packages/solspace-craft-calendar)

PHPackages © 2026

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