PHPackages                             lukaszmordawski/campaign-monitor-bundle - 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. lukaszmordawski/campaign-monitor-bundle

ActiveSymfony-bundle[API Development](/categories/api)

lukaszmordawski/campaign-monitor-bundle
=======================================

Campaign Monitor Bundle for Symfony 2

49.5k6[1 issues](https://github.com/LukaszMordawski/CampaignMonitorBundle/issues)[1 PRs](https://github.com/LukaszMordawski/CampaignMonitorBundle/pulls)PHP

Since Dec 5Pushed 6y ago2 watchersCompare

[ Source](https://github.com/LukaszMordawski/CampaignMonitorBundle)[ Packagist](https://packagist.org/packages/lukaszmordawski/campaign-monitor-bundle)[ RSS](/packages/lukaszmordawski-campaign-monitor-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

CampaignMonitorBundle
=====================

[](#campaignmonitorbundle)

This bundle was make, when I needed to use REST API wrapper for Campaign Monitor ([campaignmonitor/createsend-php](https://packagist.org/packages/campaignmonitor/createsend-php)). That was some work to have it connected to Symfony 2, so I decided to publish results. This bundle will allow you to easy use that API, without care about exact class names and needed parameters. BTW. This is first Symfony 2 vendor bundle I ever made. Every notes, ideas and bugfixes are welcome.

Installation
------------

[](#installation)

Require [lukaszmordawski/campaign-monitor-bundle](https://packagist.org/packages/lukaszmordawski/campaign-monitor-bundle) into your `composer.json` file:

```
{
    "require": {
        "lukaszmordawski/campaign-monitor-bundle": "1.0.x-dev"
    }
}
```

Then include bundle in your kernel:

```
# app/AppKernel.php

    public function registerBundles()
    {
        $bundles = array(
            # ...
            new LukaszMordawski\CampaignMonitorBundle\LukaszMordawskiCampaignMonitorBundle()
        );
    }
```

The last step is to do some configuration in your `app/config/config.yml` file:

```
# app/config/config.yml
lukasz_mordawski_campaign_monitor:
    api_key: YOUR_API_KEY
    client_id: YOUR_CLIENT_ID // don't worry, you can pass another on making API call, if needed
    cache_service_id: CACHE_SERVICE_ID // optional, default cache is already configured in the bundle
    cache_lifetime: CACHE_LIFETIME // optional, default value is 3600 (1 hour)
```

Usage:
------

[](#usage)

```
# src/Acme/DefaultBundle/Controller/DefaultController.php
...
use LukaszMordawski\CampaignMonitorBundle\Helper\FactoryArguments;
...
        $arguments = new FactoryArguments; // by this object you can pass various parameters
        $arguments->endpoint = 'clients';

        $data = $this->get('campaign_monitor.invoker')
            ->invoke($arguments, 'getCampaigns');
...
```

If wrapper method need any parameters you can pass them as array as third parameter of invoke() method. This bundle is only facade to original library to make it easy to use with Symfony 2 project, so for any questions regarding API or wrappers please refer to [original package docs](https://github.com/campaignmonitor/createsend-php/blob/master/README.md)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/91b185814fe9e68afdd23938f68f0d66c63f25b23b052f386be0f3af0b90de26?d=identicon)[LukaszMordawski](/maintainers/LukaszMordawski)

---

Top Contributors

[![lukasz-mordawski](https://avatars.githubusercontent.com/u/46929609?v=4)](https://github.com/lukasz-mordawski "lukasz-mordawski (8 commits)")[![budby](https://avatars.githubusercontent.com/u/9799960?v=4)](https://github.com/budby "budby (7 commits)")

### Embed Badge

![Health badge](/badges/lukaszmordawski-campaign-monitor-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lukaszmordawski-campaign-monitor-bundle/health.svg)](https://phpackages.com/packages/lukaszmordawski-campaign-monitor-bundle)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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