Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.2 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.2 KB

PHP wrapper class for Mailium API v3

Latest Stable Version Monthly Downloads License

For more details about API v3, please visit our help section at https://github.com/mailium/api-wrapper-php

Installation

Simply add the package to your composer.json file and run composer update.

"mailium/php-api-wrapper": "dev-master"

Or go to your project directory where the composer.json file is located and type:

composer require "mailium/php-api-wrapper"

Demo

Either ACCESS_TOKEN or API_KEY must be set.

  $mailiumApi = new Mailium\API\MailiumAPI3('ACCESS_TOKEN', 'YOUR_API3_KEY', 'SUBDOMAIN', 'json');
  $mailiumApi->run('List.GetList',array());

  print_r($mailiumApi->Result);

Documentation

https://github.com/mailium/api-wrapper-php