Skip to content

Latest commit

 

History

104 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Litmus PHP library

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

About

PHP Implementation of the Litmus customer RESTful API

Resources

Stars

10 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages