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

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

horde/timezone
==============

Timezone library

v2.0.0(6d ago)11.1k↑706.7%21LGPL-2.1-onlyPHPPHP ^8.1

Since May 6Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/horde/Timezone)[ Packagist](https://packagist.org/packages/horde/timezone)[ Docs](https://www.horde.org/libraries/Horde_Timezone)[ RSS](/packages/horde-timezone/feed)WikiDiscussions FRAMEWORK\_6\_0 Synced today

READMEChangelog (2)Dependencies (22)Versions (19)Used By (1)

Horde Timezone
==============

[](#horde-timezone)

Parses the [IANA timezone database](https://www.iana.org/time-zones) (Olson format) and generates iCalendar VTIMEZONE components.

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

[](#installation)

```
composer require horde/timezone
```

Quick start
-----------

[](#quick-start)

```
use Horde\Timezone\TimezoneDatabase;
use Horde\Timezone\TimezoneDatabaseConfig;

$db = new TimezoneDatabase(new TimezoneDatabaseConfig(
    location: '/path/to/tzdata/',
));

echo $db->getZone('America/New_York')->toVtimezone();
```

The `location` parameter accepts:

- A directory path containing unpacked Olson source files
- A path to a `.tar.gz` tarball
- A URL to download (default: `ftp://ftp.iana.org/tz/tzdata-latest.tar.gz`)

Legacy API
----------

[](#legacy-api)

The PSR-0 `Horde_Timezone` class in `lib/` remains available for backward compatibility. See [doc/UPGRADING.md](doc/UPGRADING.md)for migration guidance to the modern `Horde\Timezone` namespace.

License
-------

[](#license)

LGPL-2.1-only. See [LICENSE](LICENSE) for details.

###  Health Score

58

↑

FairBetter than 98% of packages

Maintenance95

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 72.7% 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 ~369 days

Recently: every ~483 days

Total

14

Last Release

6d ago

Major Versions

1.1.0 → 2.0.0alpha12021-02-24

PHP version history (6 changes)1.0.4PHP &gt;=5.3.0

1.0.7PHP &gt;=5.3.0,&lt;=6.0.0alpha1

1.0.10PHP &gt;=5.3.0,&lt;=8.0.0alpha1

2.0.0alpha1PHP ^7

v2.0.0alpha4PHP ^7.4 || ^8

v2.0.0beta1PHP ^8.1

### Community

Maintainers

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

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

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

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

![](https://www.gravatar.com/avatar/816e2b926f25f8cd2939054c7a7173011b4303d690e25ab61bf33cf8c7cf71ae?d=identicon)[tdannhauer](/maintainers/tdannhauer)

---

Top Contributors

[![yunosh](https://avatars.githubusercontent.com/u/379318?v=4)](https://github.com/yunosh "yunosh (109 commits)")[![mrubinsk](https://avatars.githubusercontent.com/u/66822?v=4)](https://github.com/mrubinsk "mrubinsk (21 commits)")[![ralflang](https://avatars.githubusercontent.com/u/646976?v=4)](https://github.com/ralflang "ralflang (14 commits)")[![slusarz](https://avatars.githubusercontent.com/u/381003?v=4)](https://github.com/slusarz "slusarz (6 commits)")

---

Tags

olsen

### Embed Badge

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

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

###  Alternatives

[horde/horde

Horde base application

583.0k70](/packages/horde-horde)[horde/kronolith

Calendar and scheduling application

101.5k4](/packages/horde-kronolith)[horde/imp

Webmail application

261.3k](/packages/horde-imp)

PHPackages © 2026

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