Vibeleaderboard
Index / tool
Visit github.com
Category
Developer Tools
Rank
No. 1504Tools index

Previous survey · No. 1460 ·

Pricing
Open Source
Type
TOOL
Use case
Data Processing
Interfaces
API
GitHub
49 stars
Date

About

A small PHP library that converts longitude and latitude into an IANA time zone name such as America/New_York. It can be used through Composer or run as a simple HTTP service, and it needs PHP 8.0+, PDO, and MySQL or PostgreSQL with a loaded boundary database. Boundary data comes from the Timezone Boundary Builder project, which matters because time zones follow political borders rather than longitude.

At a glance

LGV_TZ_Lookup maps a longitude and latitude to an IANA time-zone name using stored geographic boundaries. It is worth a look if a PHP application needs to resolve coordinates locally without calling a third-party geocoding API.

Good fit

PHP teams that already operate MySQL or PostgreSQL and need a coordinate-to-zone lookup.

Consider something else when

Choose a different tool if you need to geocode addresses or only need to format a time in a known zone.

Start here

Load the boundary dataset in a test database and query a known location with longitude first. Then test points near a boundary and decide how your app handles an empty result.

Cost and requirements

The library documents PHP 8 or newer, PDO and a supported database with boundary data loaded separately. The lookup account can use read-only access after loading.

Limits to know

Results depend on the boundary dataset. The library returns a zone identifier, which your application still has to use with a date to compute a local time.

Suggest an improvement

Similar tools

Browse all tools →

Tags

phptimezonegeolocationcomposerpostgresmysql

Tech Stack

PHP

Media

LGV_TZ_Lookup

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.