tde/mgapi

Mailigen.com PHP API wrapper

v1.8.7 2021-08-19 19:17 UTC

This package is auto-updated.

Last update: 2025-03-20 03:03:45 UTC


README

Composer repo for the PHP API wrapper of Mailigen.com. Read more at: https://dev.mailigen.com/downloads

Installation

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.

Usage

Use where needed like so:

<?php

use Mailigen\MGAPI\MGAPI;

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

$api = new MGAPI('your_api_key');