spatie/google-time-zone
Convert GPS coordinates to a time zone using Google’s Time Zone API. Fetch DST and raw offsets plus timeZoneId and timeZoneName for any latitude/longitude. Works in any PHP project, with optional Laravel config publishing and auto-discovery.
Use this when:
dstOffset).Look elsewhere if:
For Executives: "This package lets us reliably map GPS coordinates to time zones using Google’s API—critical for features like global event scheduling or location-based automation. It’s a turnkey solution that eliminates the risk of timezone errors (e.g., missed deadlines or misaligned notifications) while reducing dev time. The MIT license and Spatie’s track record ensure low risk, and the cost is just the Google API usage—no upfront build effort."
For Engineering: *"Spatie’s package wraps Google’s Time Zone API in a clean Laravel facade, giving us:
GoogleTimeZone::getTimeZoneForCoordinates(lat, lng)).How can I help you explore Laravel packages today?