https://github.com/pforret/deduceseason
Deduce season from date and location (latitude) -- PHP8
https://github.com/pforret/deduceseason
date geolocalization php8 season
Last synced: 3 months ago
JSON representation
Deduce season from date and location (latitude) -- PHP8
- Host: GitHub
- URL: https://github.com/pforret/deduceseason
- Owner: pforret
- License: mit
- Created: 2023-11-12T10:17:29.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-12T19:56:58.000Z (over 1 year ago)
- Last Synced: 2025-01-13T22:20:46.035Z (4 months ago)
- Topics: date, geolocalization, php8, season
- Language: PHP
- Homepage: https://packagist.org/packages/pforret/deduceseason
- Size: 478 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# deduce season from date and location
Github:

Packagist:
[](https://packagist.org/packages/pforret/deduceseason)
[](https://packagist.org/packages/pforret/deduceseason)
deduce season from date and location (latitude)
## Installation
You can install the package via composer:
```bash
composer require pforret/deduceseason
```## Usage
``` php
$season = DeduceSeason::fromDateAndLatitude('2020-01-01', 52.336) // DeduceSeason::SEASON_WINTER
```## Testing
``` bash
composer test
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security
If you discover any security related issues, please email author_email instead of using the issue tracker.
## Credits
- [Peter Forret](https://github.com/pforret)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.