exs/campaigner-bundle

This bundle is a client ofr Campaigner's SOAP web services.

v2.0.1 2020-01-21 21:27 UTC

This package is auto-updated.

Last update: 2024-12-24 08:09:23 UTC


README

Build Status

What is this bundle doing ?

This bundle provides Campaigner APIs' as Symfony services.

See Campaigner API User Guide for the list of web services and methods.

Installation

This bundle uses PHP's native SOAP objects.

Make sure soap module is enabled in your PHP's installation.

Download the bundle using composer

$ composer require exs/campaigner-bundle

Enable the bundle

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new EXS\CampaignerBundle\EXSCampaignerBundle(),
        // ...
    );
}

Configuration

Required configuration :

exs_campaigner:
    username: 'someusername'
    password: 'somepassword'

Complete configuration (with default values) :

exs_campaigner:
    username: 'someusername'
    password: 'somepassword'
    # Default values
    wsdl:
        campaign_management: 'https://ws.campaigner.com/2013/01/campaignmanagement.asmx?WSDL'
        contact_management: 'https://ws.campaigner.com/2013/01/contactmanagement.asmx?WSDL'
        content_management: 'https://ws.campaigner.com/2013/01/contentmanagement.asmx?WSDL'
        list_management: 'https://ws.campaigner.com/2013/01/listmanagement.asmx?WSDL'
        smtp_management: 'https://ws.csmtp.net/2014/06/SMTPService.asmx?WSDL'
        workflow_management: 'https://ws.campaigner.com/2013/01/workflowmanagement.asmx?WSDL'
    xsd:
        contacts_search_criteria: '@EXSCampaignerBundle/Resources/xsd/ContactsSearchCriteria2.xsd'

Web services and methods