Geospatial utilities for Waaseyaa: distance calculations, coordinate helpers

Maintainers

Package info

github.com/waaseyaa/geo

pkg:composer/waaseyaa/geo

Statistics

Installs: 1 827

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0-alpha.249 2026-06-25 00:50 UTC

This package is auto-updated.

Last update: 2026-06-25 00:57:08 UTC


README

Layer 0 — Foundation

Geospatial utilities for Waaseyaa: great-circle distance calculation.

GeoDistance::haversine($lat1, $lon1, $lat2, $lon2) returns the great-circle distance between two lat/lon points in kilometres, using the Haversine formula. That is currently the package's only utility — there is no equirectangular variant, no metres option, and no coordinate parsers (despite earlier docs). Pure utility — no storage, no service, no global state.

Key classes: GeoDistance, GeoServiceProvider.