ahonymous/timezone-bundle

The Symfony2 bundle to Google Timezone API

0.1.0 2014-10-31 08:25 UTC

This package is not auto-updated.

Last update: 2022-07-04 15:38:02 UTC


README

The bundle of timezone name for Google Timezone API.

Instalion

Composer

php composer.phar require ahonymous/timezone-bundle

AppKernel

Include the bundle in your AppKernel

public function registerBundles()
{
    $bundles = array(
        ...
        new Ahonymous\TimezoneBundle\AhonymousTimezoneBundle(),
    );
    ...
    
    return $bundles;
}

Configuration

Your configuration should be something like this

ahonymous_timezone:
    api_key: <GOOGLE_API_KEY>
    url: "https://maps.googleapis.com"