2017 © Pedro Peláez
 

library zf-time-zone

Time zone module for Zend Framework 3.

image

bupy7/zf-time-zone

Time zone module for Zend Framework 3.

  • Wednesday, January 10, 2018
  • by bupy7
  • Repository
  • 1 Watchers
  • 0 Stars
  • 65 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

zf-time-zone

Latest Stable Version Total Downloads Latest Unstable Version License Build Status Coverage Status, (*1)

Module for applying time zone towards the application., (*2)

Installation

The preferred way to install this extension is through composer:, (*3)

$ composer require bupy7/zf-time-zone "*"

to the require section of your composer.json file., (*4)

Additional for Laminas:, (*5)

$ composer require laminas/zend-modulemanager "*"

Additional for Mezzio:, (*6)

$ composer require psr/http-message "*"
$ composer require psr/http-server-middleware "*"

Usage

For Laminas:, (*7)

  1. Add Bupy7\Zf\TimeZone to module list.

For Mezzio:, (*8)

1: Add Bupy7\Zf\TimeZone\ConfigProvider to your config project;, (*9)

2: Add Bupy7\Zf\TimeZone\Middleware\BootstrapMiddleware to your middleware pipeline., (*10)

Next: Set your time zone in a local config:, (*11)

'time_zone' => [
    'time_zone' => 'Europe/Moscow',
],

And profit!, (*12)

License

zf-time-zone is released under the BSD 3-Clause License., (*13)

The Versions