PHPackages                             nikosmart/yii2-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. nikosmart/yii2-timezone

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

nikosmart/yii2-timezone
=======================

Timezone client based on Google Timezone APIs with the possibility of extension with another providers.

09PHP

Since Mar 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/SergeyLisitsyn/yii2-timezone)[ Packagist](https://packagist.org/packages/nikosmart/yii2-timezone)[ RSS](/packages/nikosmart-yii2-timezone/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Define timezone by the coordinates
==================================

[](#define-timezone-by-the-coordinates)

Timezone client based on Google Timezone APIs with the possibility of extension with another providers.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist nikosmart/yii2-timezone "*"

```

or add

```
"nikosmart/yii2-timezone": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```

```

According to google this request should calculate the Local Time.

The local time of a given location is the sum of the timestamp parameter, and the dstOffset and rawOffset fields from the result. For more details see

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/262735353?v=4)[SergeyLisitsyn](/maintainers/SergeyLisitsyn)[@SergeyLisitsyn](https://github.com/SergeyLisitsyn)

---

Top Contributors

[![sergey-lisitsyn](https://avatars.githubusercontent.com/u/6409731?v=4)](https://github.com/sergey-lisitsyn "sergey-lisitsyn (27 commits)")

### Embed Badge

![Health badge](/badges/nikosmart-yii2-timezone/health.svg)

```
[![Health](https://phpackages.com/badges/nikosmart-yii2-timezone/health.svg)](https://phpackages.com/packages/nikosmart-yii2-timezone)
```

PHPackages © 2026

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