( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
require_once 'vendor/autoload.php';
// configuration object
$config = new \EmsApi\Config([
'apiUrl' => 'https://www.thebrand.ai/mailX/api',
'apiKey' => '6f4d682772379e10d82a7fecc940b59811b091ef',
// components
'components' => [
'cache' => [
'class' => \EmsApi\Cache\File::class,
'filesPath' => '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');