2017 © Pedro PelĂĄez
 

library selligent

Selligent Client API. Use to manage your Selligent data from PHP.

image

mediapart/selligent

Selligent Client API. Use to manage your Selligent data from PHP.

  • Friday, January 19, 2018
  • by methylbro
  • Repository
  • 6 Watchers
  • 4 Stars
  • 7,975 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 11 Versions
  • 13 % Grown

The README.md

Selligent Soap API Client

Build Status Code Coverage Scrutinizer Quality Score Total Downloads Latest Stable Version, (*1)

A simple PHP library to help you interact with both Selligent Individual and Broadcast API., (*2)

Usage

<?php # example.php

require './vendor/autoload.php';

use Mediapart\Selligent\Connection;
use Mediapart\Selligent\Transport;
use Mediapart\Selligent\Properties;


/* connect you to your Selligent API server */
$connection = new Connection();
$client = $connection->open([
    'login' => '*****',
    'password' => '*****',
    'wsdl' => 'http://emsecure/individual?wsdl', 
]);

/*
    Example : Trigger the TESTGATE campaign to an user.
    We will register the user first an then, we will trigger
    the campaign with a custom message :
 */
try {

    $transport = new Transport($client);

    $user = new Properties();
    $user['NAME'] = 'Foo Bar';
    $user['MAIL'] = 'foo@bar.tld';

    $userId = $transport
        ->setList($config['list'])
        ->subscribe($user)
    ;

    $inputData = new Properties();
    $inputData['MESSAGE'] = 'Lorem ipsum dolor sit amet conceptuem.';

    $result = $transport
        ->setCampaign($config['campaign'])
        ->triggerCampaign($userId, $inputData)
    ;

} catch (\Exception $e) {
    echo 'something bad happens.';
}

You could broadcast campaign based on complete HTML from the API., (*3)

Installation

Simply install this package with Composer., (*4)

composer require mediapart/selligent

Tests

Executing tests out of the box :, (*5)

./vendor/bin/phpunit

Without setting some environment variables, some tests will be skipped. Tests in real testsuite for example., (*6)

Read More

The Versions

19/01 2018

dev-master

9999999-dev

Selligent Client API. Use to manage your Selligent data from PHP.

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

api client soap mailing selligent

18/01 2018

dev-fix-add-option-parameter-on-soap-connection

dev-fix-add-option-parameter-on-soap-connection

Selligent Client API. Use to manage your Selligent data from PHP.

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

api client soap mailing selligent

15/06 2017

1.1.x-dev

1.1.9999999.9999999-dev

Selligent Client API. Use to manage your Selligent data from PHP.

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

api client soap mailing selligent

15/06 2017

v1.1.3

1.1.3.0

Selligent Client API. Use to manage your Selligent data from PHP.

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

api client soap mailing selligent

15/06 2017

v1.1.2

1.1.2.0

Selligent Client API. Use to manage your Selligent data from PHP.

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

api client soap mailing selligent

30/12 2016

v1.1.1

1.1.1.0

Selligent Client API. Use to manage your Selligent data from PHP.

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

api client soap mailing selligent

26/12 2016

v1.1.0

1.1.0.0

Selligent Client API. Use to manage your Selligent data from PHP.

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

api client soap mailing selligent

07/12 2016

v1.0.1

1.0.1.0

Selligent Client API. Use to manage your Selligent data from PHP.

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

api client soap mailing selligent

06/12 2016

v1.0

1.0.0.0

Selligent Client API. Use to manage your Selligent data from PHP.

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

api client soap mailing selligent

07/11 2016

v0.2

0.2.0.0

Selligent Client API. Use to manage your Selligent data from PHP.

  Sources   Download

CC BY-NC-SA

The Requires

  • php >=5.5

 

The Development Requires

by Thomas GASC

api client soap mailing selligent

03/11 2016

v0.1

0.1.0.0

Selligent Client API. Use to manage your Selligent data from PHP.

  Sources   Download

CC BY-NC-SA

The Development Requires

by Thomas GASC

api client soap mailing selligent