Search by

geelweb / litmus

AlexisCassan

There is no license information available for the latest version (1.1.3) of this package.

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Package info

github.com/acassan2/Litmus

pkg:composer/geelweb/litmus

Statistics

Installs: 7 115

Dependents: 0

Suggesters: 0

Stars: 0

1.1.3 2014-01-31 13:18 UTC

This package is not auto-updated.

Last update: 2020-02-03 07:50:17 UTC


README

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