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

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

beecubu/timezone
================

Simple TimeZone PHP library (based on Scott Connerly timezone library).

v0.3(5y ago)029GPL-2.0-onlyPHP

Since Mar 27Pushed 5y agoCompare

[ Source](https://github.com/xEsk/timezone)[ Packagist](https://packagist.org/packages/beecubu/timezone)[ RSS](/packages/beecubu-timezone/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

TimeZoneSelect
==============

[](#timezoneselect)

Creating a time zone select in PHP can get unruly quickly, as DateTimeZone::listIdentifiers() returns over 415 Zones and Links, allowing for 'priority\_zones' to be at the top of the list.

[![Screenshot of timezone select](timezone-select-screenshot.png?raw=true "Screenshot of timezone select")](timezone-select-screenshot.png?raw=true)

Example:

`echo TimeZoneSelect::get_select(['country'=>'US']);`

Simple demo avaiable:

Available args w/ default values:

```
[
    'country'        => '',          //ISO-3116 2-letter country code
    'priority_zones' => [],          //If you want to specify a list of zones that aren't country-specific
    'priority_label' => 'Regional',  //The label of the optgroup for the priority zones

    'selected'       => '',          //which option is selected

    'name'           => 'time_zone', //name for the
    'class'          => '',          //class for the
    'id'             => '',          //id for the
    'data'           => [],          //list of data attributes to add to the
]

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 56.3% 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 ~953 days

Total

2

Last Release

2018d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2e8827c73154c9c4ba86dc978faf3848f239c2cb59c2bdaddcc65ddd3679122?d=identicon)[Beecubu](/maintainers/Beecubu)

---

Top Contributors

[![scottconnerly](https://avatars.githubusercontent.com/u/1088240?v=4)](https://github.com/scottconnerly "scottconnerly (9 commits)")[![xEsk](https://avatars.githubusercontent.com/u/2213183?v=4)](https://github.com/xEsk "xEsk (7 commits)")

---

Tags

phptimezone

### Embed Badge

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

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

###  Alternatives

[dater/dater

Compact PHP library for working with date/time in different formats &amp; timezones.

14282.3k](/packages/dater-dater)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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