PHPackages                             adcuz/seasonizr - 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. adcuz/seasonizr

ActiveLibrary

adcuz/seasonizr
===============

1.0.0(7y ago)2764PHP

Since Aug 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/adcuz/seasonizr)[ Packagist](https://packagist.org/packages/adcuz/seasonizr)[ RSS](/packages/adcuz-seasonizr/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (2)Used By (0)

Seasonizr
=========

[](#seasonizr)

A simple library that returns the season in a given country on a given date. This is for non-critical use, such as changing a bit of UI based on the current season, and should be treated as very low accuracy.

Install
-------

[](#install)

```
composer require adcuz/seasonizr
```

Usage
-----

[](#usage)

```
use Adcuz\Seasonizr\Conversion;

$conversion = new Conversion();

// Season based on current date
$conversion->country('GB');
```

Output (if today was a winter day):

```
winter

```

Specific date:

```
// June 2nd 2018
$date = (new \DateTime())->setDate(2018, 6, 2);
$conversion->country('GB', $date);
```

Output:

```
summer

```

### Help Wanted

[](#help-wanted)

I threw this together quickly to satisfy a need in a project, I'd like to improve it with the help of the community.

### License

[](#license)

This project is open-sourced software licensed under the [Apache License 2.0](http://www.apache.org/licenses/)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

2827d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e872a9226e27ad3eca0a2c358eb76969cf6ed738d6cde3ebf2b4205b687e4f9c?d=identicon)[adcuz](/maintainers/adcuz)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/adcuz-seasonizr/health.svg)

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

PHPackages © 2026

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