gee1web/litmus

Sdk for the Litmus Customer RESTful API

Installs: 8 144

Dependents: 0

Suggesters: 0

Security: 0

Stars: 10

Watchers: 3

Forks: 8

Open Issues: 1

pkg:composer/gee1web/litmus

2.0.0 2017-05-22 12:06 UTC

This package is not auto-updated.

Last update: 2025-12-27 08:52:23 UTC


README

Build Status

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

Install

composer require gee1web/litmus

Examples

Set Litmus API credentials:

use Geelweb\Litmus\Litmus;

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',
));