Download the PHP package lunetics/timezone-bundle without Composer
On this page you can find all versions of the php package lunetics/timezone-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package timezone-bundle
LuneticsTimezoneBundle 4.x
LuneticsTimezoneBundle resolves an IANA timezone once per main Symfony request — subrequests reuse that result — and exposes it through a stable application context. It can combine explicit request data, trusted headers, persisted preferences, authenticated users, OIDC claims, MaxMind City data, and locale fallbacks.
Symfony 8 supplies timezone lists, validation primitives, and form options, but applications still need policy for choosing a user's timezone, retaining it, and carrying it through Twig and asynchronous work. This bundle provides that orchestration without changing PHP's process-wide default timezone.
Requirements
- PHP
^8.3with Symfony^7.4.13 - PHP
^8.4with Symfony^8.1(Symfony 8 requires PHP 8.4)
Symfony 8.1 is the primary current target (July 2026), and ^8.1 intentionally permits compatible later Symfony 8 minors. The supported range covers the maintained lines only: Symfony 8.0 left support in July 2026, Symfony 6.4 stops receiving bug fixes in November 2026, and PHP 8.2 reaches end of life in December 2026. The 7.4.13 floor is the patch line for CVE-2026-48736 in symfony/http-foundation.
Install and register
Register the bundle when Symfony Flex has not done so:
Minimal configuration:
Inject Lunetics\TimezoneBundle\Context\CurrentTimezoneProviderInterface:
Documentation
- Installation and configuration
- Resolvers and precedence
- Scope and non-goals
- 4.0 architecture, contracts, and ADRs
- Upgrade from 2.1/3.0
- Changelog
Adapters
The core ships session or signed-cookie persistence and request/execution context. Optional adapters cover application callables (CallableTimezoneResolver), authenticated users, explicit OIDC claims, MaxMind City databases or readers, browser timezone sync, Twig, Symfony Form, Messenger, the web profiler, and console diagnostics. Integrations activate only when configured and available; see the installation guide for their exact wiring.
Quality
composer check runs PHPStan and PHPUnit. The Node test covers the dependency-free browser ES module.
All versions of timezone-bundle with dependencies
psr/clock Version ^1
psr/log Version ^3
symfony/config Version ^7.4.13 || ^8.1
symfony/dependency-injection Version ^7.4.13 || ^8.1
symfony/event-dispatcher-contracts Version ^3.5
symfony/http-foundation Version ^7.4.13 || ^8.1
symfony/http-kernel Version ^7.4.13 || ^8.1
symfony/service-contracts Version ^3.5