PHPackages                             phlib/litmus-reseller-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. phlib/litmus-reseller-sdk

ActiveLibrary[API Development](/categories/api)

phlib/litmus-reseller-sdk
=========================

SDK to allow you to use the legacy Litmus Reseller SOAP API

3.0.0(3y ago)01.8kLGPL-3.0PHPPHP ^7.4 || ^8.0CI passing

Since Dec 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/phlib/litmus-reseller-sdk)[ Packagist](https://packagist.org/packages/phlib/litmus-reseller-sdk)[ RSS](/packages/phlib-litmus-reseller-sdk/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

phlib/litmus-reseller-sdk
=========================

[](#phliblitmus-reseller-sdk)

[![Code Checks](https://camo.githubusercontent.com/986be21b9d57a838e1ba372c50eb0a73148647777a0cceff1f7c70819dd34439/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70686c69622f6c69746d75732d726573656c6c65722d73646b2f636f64652d636865636b732e796d6c3f6c6f676f3d676974687562)](https://github.com/phlib/litmus-reseller-sdk/actions/workflows/code-checks.yml)[![Codecov](https://camo.githubusercontent.com/d94b222f682ccf92b299622a14a0e11196d8ea674686029f8132ba1eefc788b3/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f70686c69622f6c69746d75732d726573656c6c65722d73646b2e7376673f6c6f676f3d636f6465636f76)](https://codecov.io/gh/phlib/litmus-reseller-sdk)[![Latest Stable Version](https://camo.githubusercontent.com/2bd10d51033abaf49d1e279664ef827363c499dfe34d31fedf8ab7ddcefb35e8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70686c69622f6c69746d75732d726573656c6c65722d73646b2e7376673f6c6f676f3d7061636b6167697374)](https://packagist.org/packages/phlib/litmus-reseller-sdk)[![Total Downloads](https://camo.githubusercontent.com/a8f7f128ba13d3dde9f3129a3ae638dd1551dea36e8caa1bf88a0f0ebc3942da/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70686c69622f6c69746d75732d726573656c6c65722d73646b2e7376673f6c6f676f3d7061636b6167697374)](https://packagist.org/packages/phlib/litmus-reseller-sdk)[![Licence](https://camo.githubusercontent.com/443a6f9d456dd8c7558b1b638d881f955f9525b4610190b8b9e1691f0e216fad/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70686c69622f6c69746d75732d726573656c6c65722d73646b2e737667)](https://camo.githubusercontent.com/443a6f9d456dd8c7558b1b638d881f955f9525b4610190b8b9e1691f0e216fad/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70686c69622f6c69746d75732d726573656c6c65722d73646b2e737667)

SDK to allow you to use the legacy Litmus Reseller SOAP API. You can retrieve all available clients, create a test and get the results.

**April 2021**: [Phlib](https://github.com/phlib) have taken over the maintenance of this package from [blaugueux](https://github.com/blaugueux). Huge thanks for trusting us to continue his work! We've been using this package for years in our commercial projects, so we're looking forward to keeping it going!

Thankfully, Litmus have [archived the documentation](https://litmus.github.io/legacy-litmus-api-docs/)for this legacy API.

Litmus deprecated this API in 2015. New implementations should use their current APIs, listed at [docs.litmus.com](https://docs.litmus.com).

Install
-------

[](#install)

Via Composer

```
$ composer require phlib/litmus-reseller-sdk
```

Usage
-----

[](#usage)

See the [Legacy litmus SOAP API docs](https://litmus.github.io/legacy-litmus-api-docs/SOAP/Legacy%20SOAP%20Web%20Service%3A%20Process%20for%20running%20email%20tests)for an example workflow.

- Call `Litmus::createEmailTest()`.
- This will return a new `EmailTest` object containing the unique ID.
- The ID can be used when calling `Litmus::getEmailTest()` to view the state.
- The `EmailTest::getResults()` method can be used to get details on the state for each individual client in the test, the ID of which can be used with `Litmus::getResult()` to get the full result details.

### Callbacks

[](#callbacks)

If you have a callback URL configured with your Litmus reseller account, it will be called with an XML string when results are available, rather than needing to poll `Litmus::getEmailTest()`. `Callback\Factory` can be used to create the appropriate result object.

License
-------

[](#license)

This package is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see .

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 92% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1084 days

Total

3

Last Release

1269d ago

Major Versions

2.0.1 → 3.0.02022-11-21

PHP version history (2 changes)2.0.0PHP &gt;=5.3.3

3.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/10c53cdcfb3a6d299820aecb993521cc1a972baa09fd8f31d2468908cded7e1d?d=identicon)[chrisminett](/maintainers/chrisminett)

---

Top Contributors

[![chrisminett](https://avatars.githubusercontent.com/u/1084019?v=4)](https://github.com/chrisminett "chrisminett (69 commits)")[![brendanc](https://avatars.githubusercontent.com/u/181509?v=4)](https://github.com/brendanc "brendanc (6 commits)")

---

Tags

email previewemail testingspam testing

###  Code Quality

TestsPHPUnit

Code StyleECS

### Embed Badge

![Health badge](/badges/phlib-litmus-reseller-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/phlib-litmus-reseller-sdk/health.svg)](https://phpackages.com/packages/phlib-litmus-reseller-sdk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
