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. [Utility &amp; Helpers](/categories/utility)
4. /
5. adcuz/seasonizr

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

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 2w ago

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 57% 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

2875d 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)
```

###  Alternatives

[supervisorphp/event

Listen to Supervisor events in PHP

1444.5k](/packages/supervisorphp-event)[rmunate/laravel_helpers

Empower Your Laravel Journey: Unleash the Power of Helpers! Unlock a world of possibilities with our standard creation and seamless utilization of helpers within the Laravel framework. Our solution offers a simple, efficient, and elegant way to execute your application's custom methods from any class or view, making development a breeze. Supercharge your Laravel project and elevate your coding experience with our Helper Library.

552.8k](/packages/rmunate-laravel-helpers)

PHPackages © 2026

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