jaybizzle / php-seasons
A small utility class that returns the meteorological season from a given date.
v1.0.0
2017-09-13 20:01 UTC
Requires
- php: >=5.3.0
Requires (Dev)
This package is auto-updated.
Last update: 2026-03-01 00:21:53 UTC
README
A small utility class that returns the meteorological season from a given date.
Installation
Run composer require jaybizzle/php-seasons dev-master or add "jaybizzle/php-seasons" :"dev-master" to your composer.json.
Usage
use Jaybizzle\Seasons; $season = new Seasons; // Get season from date $season->get('1st June'); // Output: Summer // Get current season $season->get();