PHPackages                             glhd/laravel-timezone-mapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. glhd/laravel-timezone-mapper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

glhd/laravel-timezone-mapper
============================

Timezone mapper for Laravel

1.5.0(1mo ago)45284.4k↓23.3%1MITPHPPHP &gt;=8.1CI passing

Since Jul 31Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/glhd/laravel-timezone-mapper)[ Packagist](https://packagist.org/packages/glhd/laravel-timezone-mapper)[ RSS](/packages/glhd-laravel-timezone-mapper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (10)Versions (7)Used By (0)

Laravel Timezone Mapper
=======================

[](#laravel-timezone-mapper)

This package maps coordinates to a timezone string. Based heavily on [TimezoneMapperPHP](https://github.com/webmasterar/TimezoneMapperPHP) and [LatLongToTimezone](https://github.com/drtimcooper/LatLongToTimezone) and adopted for use in a Laravel project.

It's not likely to be 100% correct every time, but if you need to map lots of coordinates and don't want to make API calls each time, it's a good way to get reasonable defaults.

Usage:
------

[](#usage)

```
$mapped_timezone = TimezoneMapper::mapCoordinates(
  latitude: 51.50853,
  longitude: -0.12574,
  fallback: 'America/New_York', // Optional -- used if unable to map coords
);

// Returns "Europe/London"
```

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity46

Moderate usage in the ecosystem

Community10

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~485 days

Recently: every ~539 days

Total

6

Last Release

56d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.1.3

1.5.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21592?v=4)[Chris Morrell](/maintainers/inxilpro)[@inxilpro](https://github.com/inxilpro)

---

Top Contributors

[![inxilpro](https://avatars.githubusercontent.com/u/21592?v=4)](https://github.com/inxilpro "inxilpro (12 commits)")[![bogdankharchenko](https://avatars.githubusercontent.com/u/32746389?v=4)](https://github.com/bogdankharchenko "bogdankharchenko (3 commits)")

---

Tags

laraveltimezone

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/glhd-laravel-timezone-mapper/health.svg)

```
[![Health](https://phpackages.com/badges/glhd-laravel-timezone-mapper/health.svg)](https://phpackages.com/packages/glhd-laravel-timezone-mapper)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[tapp/filament-timezone-field

Filament timezone field.

55276.6k4](/packages/tapp-filament-timezone-field)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[joy2362/php-time-zone

A simple package that provide list of all timezone that php support

162.0k](/packages/joy2362-php-time-zone)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
