PHP code example of amatz5 / timezones

1. Go to this page and download the library: Download amatz5/timezones library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

amatz5 / timezones example snippets


    'providers' => [
        // ...
        'Amatz5\Timezones\TimezonesServiceProvider',
    ]

    'providers' => [
        // ...
        Amatz5\Timezones\TimezonesServiceProvider::class,
    ]

    'aliases' => [
        // ...
        'Timezones' => 'Amatz5\Timezones\Facades\Timezones',
    ]

    'aliases' => [
        // ...
        'Timezones' => Amatz5\Timezones\Facades\Timezones::class,
    ]