<?php
//echo 'hidf';die;
//exit('COMMENT ME TO TEST THE EXAMPLES!');



require_once __DIR__ . '/../vendor/autoload.php';

// configuration object
$config = new \EmsApi\Config([
   'apiUrl'    => 'http://emailfortius.com/api/index.php',
    'apiKey'    => '8cc8868a3687c88ee386914c7366223c992cbe25',

    // components
    'components' => [
        'cache' => [
            'class'     => \EmsApi\Cache\File::class,
            'filesPath' => __DIR__ . '/data/cache', // make sure it is writable by webserver
        ]
    ],
]);

// now inject the configuration and we are ready to make api calls
\EmsApi\Base::setConfig($config);

// start UTC
date_default_timezone_set('UTC');
