PHPackages                             mylittleparis/campaign-commander - 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. mylittleparis/campaign-commander

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

mylittleparis/campaign-commander
================================

Client for the Campaign Commander API (wrapper)

2.0.0(11y ago)32.0k4BSD-3-ClausePHPPHP &gt;=5.4.4

Since Sep 6Pushed 9y ago31 watchersCompare

[ Source](https://github.com/MyLittleParis/Campaign-Commander)[ Packagist](https://packagist.org/packages/mylittleparis/campaign-commander)[ RSS](/packages/mylittleparis-campaign-commander/feed)WikiDiscussions master Synced 2mo ago

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

Campaign Commander
==================

[](#campaign-commander)

> Campaign Commander is the stuff you need to manage your Campaign Commander.

About
=====

[](#about)

PHP Campaign Commander is a library to communicate with the [Campaign Commander](http://www.campaigncommander.com) API.

License
=======

[](#license)

PHP Campaign Commander is [BSD](http://en.wikipedia.org/wiki/BSD_licenses) licensed.

Documentation
=============

[](#documentation)

Requirements
------------

[](#requirements)

- PHP &gt;= 5.4.4
- soap extension

Installation through Composer
-----------------------------

[](#installation-through-composer)

```
{
	"require": {
		"mylittleparis/campaign-commander": "dev-master"
	},
}
```

Architecture
------------

[](#architecture)

This library is structured on 2 layers:

- Low-level API clients : only SOAP (using [BeSimple lib](https://github.com/BeSimple/BeSimpleSoapClient)) clients are provided (one for standard requests, one for requests containing attachments)
- Mid-level API services : using low-level clients, they are mapped to CampaignCommander API methods and allow you to really work with CampaignCommander

Basic usage
-----------

[](#basic-usage)

### Principle:

[](#principle)

1. Instantiate a mid-level service with an appropriate low-level API client factory
2. Enjoy the service methods :)

### Example : create an export from a segment

[](#example--create-an-export-from-a-segment)

```
use BeSimple\SoapClient as Soap;
use MyLittle\CampaignCommander\API\SOAP as Client;
use MyLittle\CampaignCommander\Service as Service;

$clientFactory = new Client\StandardClientFactory(new Soap\SoapClientBuilder(), 'login', 'password', 'key', 'http://emvapi.emv3.com');
$service = new Service\MemberExportService($clientFactory);
try {
	$result = $service->createDownloadByMailinglist('ID_SEGMENT', 'ALL_MEMBERS', 'EMAIL,FIELD1', 'PIPE', 'true', 'EMAIL', 'true');
}
```

Testing
-------

[](#testing)

### PHPUnit

[](#phpunit)

this library comes with some unit tests. if you plan to run these tests, you can do it simply by running phpunit in the project root directory like that :

```
$ cd /path/to/lib
$ phpunit
```

For more information about PHPUnit, you can read the [official documentation](http://phpunit.de/manual/3.7/en/index.html)

The tests are located in the folder `tests/`.

Sites using this class
======================

[](#sites-using-this-class)

- [Music Hall Group](http://www.musichallgroup.be)
- [Vorst National](http://www.vorstnationaal.be)
- [Stadsschouwburg Antwerpen](http://www.stadsschouwburgantwerpen.be)
- [Capitole Gent](http://www.capitolegent.be)
- [Music Hall](http://www.musichall.be)
- [My Culture](http://www.myculture.be)
- [Zuiderkroon](http://www.zuiderkroon.be)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 68.8% 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 ~261 days

Total

5

Last Release

3585d ago

Major Versions

1.1.3 → 2.0.02015-02-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/e893ccc6f340d86cfafd86f52bb79a424bcf85377d88026eb7924a26ad8d3636?d=identicon)[ludofleury](/maintainers/ludofleury)

![](https://www.gravatar.com/avatar/5eb61f97e33920ad647ee1ae6c9e4246daf1c2f52e67a0bb6f3e30ef2017f987?d=identicon)[jocelyn](/maintainers/jocelyn)

---

Top Contributors

[![tijsverkoyen](https://avatars.githubusercontent.com/u/250042?v=4)](https://github.com/tijsverkoyen "tijsverkoyen (33 commits)")[![David-Guillot](https://avatars.githubusercontent.com/u/1136694?v=4)](https://github.com/David-Guillot "David-Guillot (4 commits)")[![ludofleury](https://avatars.githubusercontent.com/u/187038?v=4)](https://github.com/ludofleury "ludofleury (4 commits)")[![arnaud-23](https://avatars.githubusercontent.com/u/2587655?v=4)](https://github.com/arnaud-23 "arnaud-23 (3 commits)")[![jocelynkerbourch](https://avatars.githubusercontent.com/u/3670208?v=4)](https://github.com/jocelynkerbourch "jocelynkerbourch (3 commits)")[![Kyulendy](https://avatars.githubusercontent.com/u/2988923?v=4)](https://github.com/Kyulendy "Kyulendy (1 commits)")

---

Tags

apiemailcampaigncommander

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mylittleparis-campaign-commander/health.svg)

```
[![Health](https://phpackages.com/badges/mylittleparis-campaign-commander/health.svg)](https://phpackages.com/packages/mylittleparis-campaign-commander)
```

###  Alternatives

[hocza/sendy

Sendy API implementation for Laravel

71195.5k](/packages/hocza-sendy)[princealikhan/laravel-mautic-api

Free and Open Source Marketing Automation API

415.9k](/packages/princealikhan-laravel-mautic-api)

PHPackages © 2026

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