jaybizzle / php-seasons
A small utility class that returns the meteorological season from a given date.
Installs: 19 222
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 5
Forks: 2
Open Issues: 4
Requires
- php: >=5.3.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-29 03:53:30 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();