2017 © Pedro Peláez
 

library dxi

Library for the DXI API

image

ianchadwick/dxi

Library for the DXI API

  • Friday, November 4, 2016
  • by ianchadwick
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

DXI/EasyContactNow PHP LIBRARY

Outbound/Inbound Call Management. Automated Dialler & Contact Queuing, (*1)

This package allows you to add contacts using their API.See website, (*2)

Requirements

PHP 5.4+, (*3)

Installation using Composer

Add ianchadwick/dxi to the require part of your composer.json file, (*4)

"require": {
  "ianchadwick/dxi": "1.0.*"
}

Then update your project with composer, (*5)

composer update

Basic Usage

use Dxi\Dxi;
use Dxi\Commands\Dataset\Contact\Create;

class MyClass {
  public function createContact()
  {
    // init the Dxi helper
    $dxi = new Dxi('myusername', 'mypassword');

    // create the command with the Dxi object
    $command = new Create($dxi);

    // set the params
    $command->setParams([
        'dataset' => 10,
        'firstname' => 'Ian',
        'lastname' => 'Chadwick',
        'ddi_mobile' => '07800000000'
    ]);

    // create the contact
    $response = $dxi->fire($command);
  }
}

The Versions

04/11 2016

dev-master

9999999-dev https://github.com/ianchadwick/dxi

Library for the DXI API

  Sources   Download

MIT

The Requires

 

by Ian Chadwick

api inbound outbound dialler