Composer repo for the PHP API wrapper of Mailigen.com. Read more at: https://dev.mailigen.com/downloads
Installation via Composer is the recommended way to install MGAPI. Just run next command: :
composer require tde/mgapi
Or add this line to your composer.json
file:
"tde/mgapi": "^1.8"
And run composer update
.
Use where needed like so:
<?php
use Mailigen\MGAPI\MGAPI;
require_once __DIR__ . '/path/to/vendor/autoload.php';
$api = new MGAPI('your_api_key');