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

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

optimeconsulting/timezone-bundle
================================

0586↓50%PHP

Since Feb 6Pushed 3y ago2 watchersCompare

[ Source](https://github.com/optimeadmin/timezone_bundle)[ Packagist](https://packagist.org/packages/optimeconsulting/timezone-bundle)[ RSS](/packages/optimeconsulting-timezone-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

TimeZone Bundle
===============

[](#timezone-bundle)

Bundle para facilitar el trabajo con zonas horarias.

Instalación
-----------

[](#instalación)

Ejecutar

```
composer require "optimeconsulting/timezone-bundle" "@dev"

```

Luego de ello, registrar el bundle en el **config/bundles.php**:

```
return [
    ...
    Optime\TimeZone\Bundle\OptimeTimeZoneBundle::class => ['all' => true],
];
```

---

Uso
===

[](#uso)

Las entidades que necesiten trabajar sus fechas con un timezone deben implementar la interfaz:

`Optime\TimeZone\Bundle\TimeZoneAwareInterface`

Dicha interfaz tiene un método `getTimeZone(): ?TimeZone` que retorna la zona horaria establecida para dicha entidad o null.

Formularios
-----------

[](#formularios)

A los campos de tipo DatetimeType, se les pueden pasar varias opciones para facilitar el trabajo con el timzone:

- timezone: Indica cual zona horaria usar, puede ser `null`, `Optime\TimeZone\Bundle\Entity\TimeZone` o `Optime\TimeZone\Bundle\TimeZoneAwareInterface`
- timezone\_help: es un boolean, por defecto en false, que indica si se debe pintar la zona horaria que está usando el campo.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 65% 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://www.gravatar.com/avatar/d75439a72ac863dc48d5c40bf6d84ec3272f7e34e245df239b15de4dea952dc8?d=identicon)[optimeadmin](/maintainers/optimeadmin)

---

Top Contributors

[![maguirreoptime](https://avatars.githubusercontent.com/u/213988915?v=4)](https://github.com/maguirreoptime "maguirreoptime (13 commits)")[![optimeadmin](https://avatars.githubusercontent.com/u/70289611?v=4)](https://github.com/optimeadmin "optimeadmin (7 commits)")

### Embed Badge

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

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

###  Alternatives

[richjenks/stats

Statistics library for non-statistical people

23149.0k1](/packages/richjenks-stats)[withcandour/aardvark-seo

Save time and get your Statamic site to rank better with the SEO addon for Statamic.

13128.3k](/packages/withcandour-aardvark-seo)[joelwmale/livewire-quill

Easily add QuillJS with image support to any Laravel Livewire component.

1314.0k](/packages/joelwmale-livewire-quill)

PHPackages © 2026

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