PHP code example of avoran / doctrine-dbal-datetime-default-tz

1. Go to this page and download the library: Download avoran/doctrine-dbal-datetime-default-tz 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/ */

    

avoran / doctrine-dbal-datetime-default-tz example snippets


use Doctrine\DBAL\Types\Type;
Type::addType('datetime_default_tz', 'Avoran\Doctrine\DBAL\Types\DateTimeDefaultTzType');