artack/mx-api-bundle

This package is abandoned and no longer maintained. The author suggests using the mailxpert/apibundle package instead.

Bundle for mailXpert API

Installs: 141

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Type:symfony-bundle

0.1.2 2013-01-24 10:02 UTC

This package is auto-updated.

Last update: 2022-04-19 08:28:30 UTC


README

ATTENTION: This repository is archived and therefore readonly.

ARTACK/mx-api-bundle

The ARTACK mailXpert API Bundle adds support of using the API for mailXpert newsletter software.

Documentation

The documentation is currently unavailable because of the recent changes to the api.

Installation

Step 1: Download ARTACK/mx-api-bundle using composer

Add ArtackMxApi in your composer.json:

{
    "require": {
        "artack/mx-api-bundle": "*"
    }
}

Now tell composer to download the bundle by running the command:

$ php composer.phar update artack/mx-api-bundle

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Artack\MxApiBundle\ArtackMxApiBundle(),
        // ...
    );
}

Step 3: Start using the mailXpert API Service

Start using the public service as described below. You can make use of the fluent interface.

/* @var $mxapi \Artack\MxApi\ArtackMxApi */
$mxapi = $this->get('artack.mxapi');

$response = $mxapi->setPath('Contact')->get();

License

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE