https://github.com/normalhuman01/helper-timezone
  
  
    Helper TimeZone 
    https://github.com/normalhuman01/helper-timezone
  
        Last synced: 7 months ago 
        JSON representation
    
Helper TimeZone
- Host: GitHub
- URL: https://github.com/normalhuman01/helper-timezone
- Owner: normalhuman01
- License: mit
- Created: 2023-12-17T19:40:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-17T19:44:09.000Z (almost 2 years ago)
- Last Synced: 2025-02-01T12:45:29.524Z (9 months ago)
- Language: PHP
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- 
            Metadata Files:
            - Readme: README.md
- Changelog: changelog.md
- License: LICENSE
 
Awesome Lists containing this project
README
          Helper TimeZone
### **DIRECTORY STRUCTURE:**
```
config/             contains application configurations
src/                contains source files
tests/              contains tests codeception for the web application
vendor/             contains dependent 3rd-party packages
```
### **REQUIREMENTS:**
- The minimum requirement by this project template that your Web server supports:
    - PHP 7.2 or higher.
### **INSTALLATION:**
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this extension using the following command composer:
~~~
composer require terabytesoftw/helper-timezone '^1.0@dev'
~~~
or add composer.json:
~~~
"terabytesoftw/helper-timezone":"^1.0@dev"
~~~
### **USAGE:**
~~~
timezone = \yii\helpers\ArrayHelper::map(
    $this->timezone->getAll(), 
    'timezone',
    'name'
);
var_dump($this->timezone);
~~~
### **RUN TESTS CODECEPTION:**
~~~
// download all composer dependencies root project
$ composer update --prefer-dist -vvv
// run all tests with code coverage
$ vendor/bin/codecept run unit --coverage-xml
~~~
### **WEB SERVER SUPPORT:**
- Apache.
- Nginx.
- OpenLiteSpeed.
### **DOCUMENTATION STYLE GUIDE:**
[Style CI Documentation PSR2.](https://docs.styleci.io/presets#psr2)
### **LICENCE:**
[](LICENSE.md)
[](https://www.yiiframework.com/)
[](https://packagist.org/packages/terabytesoftw/helper-timezone)
[](https://github.styleci.io/repos/195531459)
        
 
 
