PHPackages                             gsteel/google-timezone - 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. gsteel/google-timezone

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

gsteel/google-timezone
======================

Google Timezone API Client

1.10.0(7mo ago)020.5k↓24.2%[1 issues](https://github.com/gsteel/google-timezone/issues)[2 PRs](https://github.com/gsteel/google-timezone/pulls)MITPHPPHP ~8.2 || ~8.3 || ~8.4 || ~8.5CI passing

Since Aug 15Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/gsteel/google-timezone)[ Packagist](https://packagist.org/packages/gsteel/google-timezone)[ Docs](https://github.com/gsteel/google-timezone)[ RSS](/packages/gsteel-google-timezone/feed)WikiDiscussions 1.11.x Synced 1mo ago

READMEChangelog (10)Dependencies (17)Versions (27)Used By (0)

Google Timezone API Client
==========================

[](#google-timezone-api-client)

[![Build Status](https://github.com/gsteel/google-timezone/workflows/Continuous%20Integration/badge.svg)](https://github.com/gsteel/google-timezone/actions?query=workflow%3A%22Continuous+Integration%22)

[![codecov](https://camo.githubusercontent.com/e4949e301fc1febbae5c9d985e22cdec13d0f78193954609d773327604116345/68747470733a2f2f636f6465636f762e696f2f67682f67737465656c2f676f6f676c652d74696d657a6f6e652f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/gsteel/google-timezone)[![Psalm Type Coverage](https://camo.githubusercontent.com/52e56b417178a81707a803f7c59603093ac4f29fefd948960f5a8e5132cb29e7/68747470733a2f2f73686570686572642e6465762f6769746875622f67737465656c2f676f6f676c652d74696d657a6f6e652f636f7665726167652e737667)](https://shepherd.dev/github/gsteel/google-timezone)

[![Latest Stable Version](https://camo.githubusercontent.com/be3d2034937d5c07d4d14145621a9997f9f0a9cb0f11d55512df7919a488739d/68747470733a2f2f706f7365722e707567782e6f72672f67737465656c2f676f6f676c652d74696d657a6f6e652f762f737461626c65)](https://packagist.org/packages/gsteel/google-timezone)[![Total Downloads](https://camo.githubusercontent.com/5bee377f1e4d593e2e5b3024e18f314f7a4d1a82fd9a93fe8e852038cc2901c7/68747470733a2f2f706f7365722e707567782e6f72672f67737465656c2f676f6f676c652d74696d657a6f6e652f646f776e6c6f616473)](https://packagist.org/packages/gsteel/google-timezone)

Introduction
------------

[](#introduction)

Provides a well tested set of interfaces and value objects for interacting with [Google's Timezone API](https://developers.google.com/maps/documentation/timezone/overview)

Installation
------------

[](#installation)

The only supported method of installation is via composer.

This client requires a [PSR-18 Http Client](https://packagist.org/providers/psr/http-client-implementation) and PSR-17 Factory implementations. These implementations are not required by composer, so you will need to ensure you have them installed, for example,

```
composer require php-http/curl-client laminas/laminas-diactoros gsteel/google-timezone
```

Usage
-----

[](#usage)

The TimeZone API requires an [API key from Google](https://developers.google.com/maps/documentation/timezone/get-api-key)

```
