PHP Implementation of the Litmus customer RESTful API
PHP
Pull request Compare This branch is 1 commit ahead, 10 commits behind geelweb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
library
tests
.gitignore
LICENSE
Makefile
README.md

README.md

Litmus PHP library

PHP Implementation of the Litmus Customer RESTful API to test email and web pages on many email clients and browsers.

Install

  • Download the zip file or checkout the source
  • Put it somewhere in your path
  • Use it

Examples

Set Litmus API credentials:

Litmus::setAPICredentials(
    'your_api_key',
    'your_api_credential',
    'your_api_password');

Get the email clients availables for tests:

$clients = Litmus::getEmailClients();

Get the clients availables to test web-pages:

$clients = Litmus::getPageClients();

Create a page test on Safari 2 and IE7:

Litmus::createPageTest(array(
    'applications' => array('saf2', 'ie7'),
    'url' => 'http://geelweb.org',
));

Flattr this git repo