PHPackages                             aklump/local-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. aklump/local-timezone

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

aklump/local-timezone
=====================

Get the local timezone from the system.

0.0.2(7mo ago)0103BSD-3-ClausePHP

Since Apr 30Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/aklump/local_timezone)[ Packagist](https://packagist.org/packages/aklump/local-timezone)[ Docs](https://github.com/aklump/local_timezone)[ RSS](/packages/aklump-local-timezone/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Local Timezone
==============

[](#local-timezone)

Provides a standard interface for getting the local, system timezone as a \\DateTimeZone instance. This is not the same as relying on the PHP timezone setting, which may or may not be set. The determined value comes from the host system.

```
date_create('tomorrow', \AKlump\LocalTimezone\LocalTimezone::get());
```

Run the Example
---------------

[](#run-the-example)

To check compatibility you can run the example file from command line:

```
php -f example.php
```

###  Health Score

32

—

LowBetter than 74% of packages

Maintenance65

Regular maintenance activity

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

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.

###  Release Activity

Cadence

Every ~845 days

Total

2

Last Release

211d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79476f3b82f9c766433c7eb401cbcfc636cd5d5ccf2b2e6b50ea81d1de6c2730?d=identicon)[aklump](/maintainers/aklump)

---

Top Contributors

[![aklump](https://avatars.githubusercontent.com/u/425737?v=4)](https://github.com/aklump "aklump (14 commits)")

### Embed Badge

![Health badge](/badges/aklump-local-timezone/health.svg)

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

###  Alternatives

[larapack/dd

`dd` is a helper method in Laravel. This package will add the `dd` to your application.

1252.5M377](/packages/larapack-dd)[nfephp-org/sped-common

sped-common é parte do projeto NFePHP.

1061.6M59](/packages/nfephp-org-sped-common)[kartik-v/yii2-widget-rating

A Yii2 widget for the simple yet powerful bootstrap-star-rating plugin with fractional rating support (sub repo split from yii2-widgets)

474.1M7](/packages/kartik-v-yii2-widget-rating)[kartik-v/yii2-sortable

Create sortable lists and grids using HTML5 drag and drop API for Yii 2.0.

433.8M13](/packages/kartik-v-yii2-sortable)[timeweb/phpstan-enum

Enum class reflection extension for PHPStan

443.2M19](/packages/timeweb-phpstan-enum)[kartik-v/yii2-widget-rangeinput

An enhanced Yii 2 widget encapsulating the HTML 5 range input (sub repo split from yii2-widgets)

213.9M3](/packages/kartik-v-yii2-widget-rangeinput)

PHPackages © 2026

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