splitline / weather
Route waypoint sampling, wind-vector math, and Open-Meteo weather enrichment for endurance activities.
v0.1.0
2026-11-25 07:57 UTC
Requires
- php: ^8.5
- nesbot/carbon: ^3.0
- splitline/core: ^0.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-25 08:45:02 UTC
README
Route waypoint sampling, wind-vector math, and Open-Meteo weather enrichment returning immutable Splitline\Core\Data\ActivityWeatherData DTOs.
Installation
composer require splitline/weather
Usage
use Splitline\Weather\WindVectorMath; $math = new WindVectorMath(); $bearing = $math->forwardBearing(-41.2865, 174.7762, -41.2924, 174.7787);
Contributing
This repository is a read-only subtree split. Please submit all issues and pull requests to splitline-php/ingest.
License
MIT — see LICENSE.