spatie/google-time-zone
Convert GPS coordinates to time zone data using Google's Time Zone service. Get DST offset, raw offset, time zone ID, and time zone name from latitude and longitude. Works in plain PHP and Laravel projects, with a publishable config for your Google Maps API key and language setting.
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?