Seasonal is a library to detect the current season (summer, winter, fall..etc). It also detects if you are in the southern or northern hemisphere and adjusts the date ranges accordingly.
Via Composer
$ composer require letsgolearn/seasonal $location = new Location(new GeoIp, new SeasonalDateRanges);
$seasonal = new Seasonal($location);
$seasonal->get(); // => WINTER$ phpunitIf you discover any security related issues, please email ryan@letsgolearn.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.