PHPackages                             nholdren/marketing-cloud-php-soap - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. nholdren/marketing-cloud-php-soap

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

nholdren/marketing-cloud-php-soap
=================================

PHP library for interacting with the Salesforce Marketing Cloud SOAP API

v1.1(2y ago)039MITPHPPHP &gt;=5.3.3

Since Mar 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/nholdren/marketing-cloud-soap-php)[ Packagist](https://packagist.org/packages/nholdren/marketing-cloud-php-soap)[ Docs](https://github.com/nholdren/marketing-cloud-php-soap)[ RSS](/packages/nholdren-marketing-cloud-php-soap/feed)WikiDiscussions main Synced today

READMEChangelog (2)DependenciesVersions (4)Used By (0)

Overview
========

[](#overview)

This package is an updated version of the classic PHP helper library developed for the ExactTarget SOAP API. Updates include the addition of newer objects that have since been added to the the API and the support for using an OAuth token for authentication.

Examples using the legacy library from ExactTarget can be found here: [https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/php\_code\_samples.html](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/php_code_samples.html).

Note: Almost all the PHP examples from Salesforce have misspellings in their class names like so "Marketing Cloud\_SoapClient(" with a space between "Marketing" and "Cloud".

Installation
============

[](#installation)

### Packagist

[](#packagist)

Add the package to your composer.json

```
{
    "require": {
           "nholdren/marketing-cloud-php-soap": "dev-main"
    }
}

```

Next run a composer update

```
$ php composer.phar update nholdren/marketing-cloud-php-soap

```

or

```
$ composer update nholdren/marketing-cloud-php-soap

```

Usage
=====

[](#usage)

```
$wsdl = 'https:/YOUR-TENANT-ID.soap.marketingcloudapis.com/etframework.wsdl';

$client = new MarketingCloudSoapClient($wsdl, array('trace'=>1));

//Set username and password if still using this auth
$client->username = 'YOUR_USERNAME';
$client->password = 'YOUR_PASSWORD';

//Or pass your auth token instead
$client->username = '*';
$client->password = '*';
$client->authtoken = 'YOUR-AUTH-TOKEN';
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~4 days

Total

2

Last Release

837d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/677898?v=4)[Nick Holdren](/maintainers/nholdren)[@nholdren](https://github.com/nholdren)

---

Top Contributors

[![nholdren](https://avatars.githubusercontent.com/u/677898?v=4)](https://github.com/nholdren "nholdren (3 commits)")

---

Tags

apiemailexact targetsalesforceexacttargetmcesfmcsalesforce marketing cloud

### Embed Badge

![Health badge](/badges/nholdren-marketing-cloud-php-soap/health.svg)

```
[![Health](https://phpackages.com/badges/nholdren-marketing-cloud-php-soap/health.svg)](https://phpackages.com/packages/nholdren-marketing-cloud-php-soap)
```

###  Alternatives

[druid628/exacttarget

Component library for ExactTarget API

13104.2k1](/packages/druid628-exacttarget)[ecomailcz/ecomail

Ecomail.cz API Wrapper

17418.3k4](/packages/ecomailcz-ecomail)[hafael/azure-mailer-driver

Supercharge your Laravel or Symfony app with Microsoft Azure Communication Services (ACS)! Effortlessly add email, chat, voice, video, and telephony-over-IP for next-level communication. 🚀

15130.8k](/packages/hafael-azure-mailer-driver)

PHPackages © 2026

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