Skip to content

mailium/api-wrapper-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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