lunetics/timezone-bundle

A Bundle for detecting the timezone

Installs: 41 887

Dependents: 0

Suggesters: 0

Security: 0

Stars: 26

Watchers: 4

Forks: 11

Open Issues: 3

Type:symfony-bundle

v3.0 2015-12-03 01:28 UTC

This package is auto-updated.

Last update: 2024-06-12 18:40:32 UTC


README

The TimezoneBundle adds support for guessing a appropiate Timezone serverside in your Symfony 2.1 application.

Latest Stable Version Build Status Scrutinizer Code Quality Code Coverage

Latest Unstable Version Total Downloads License

About

This Bundle offers Timezone detection via a Kernel-listener. Also included is a TimezoneValidator.

Included are 3 TimezoneGuessers

  • geoip
  • locale_mapper
  • locale

You can define the order of which guesser should be called first. Once a guesser finds a appropiate timezone, the timezone will be stored in the session variable lunetics_timezone.

Requirements

To use the geoip guesser and the locale guesser, the pecl-geoip extension must be installed and working.

Documentation

Read the Documentation

Installation

Read the Documentation

License

This bundle is under the MIT license.

Authors

Matthias Breddin : @lunetics