ATTENTION: This repository is archived and therefore readonly., (*1)
ARTACK/mx-api-bundle
The ARTACK mailXpert API Bundle adds support of using the API for mailXpert newsletter software., (*2)
Documentation
The documentation is currently unavailable because of the recent changes to the api., (*3)
Installation
Step 1: Download ARTACK/mx-api-bundle using composer
Add ArtackMxApi in your composer.json:, (*4)
{
"require": {
"artack/mx-api-bundle": "*"
}
}
Now tell composer to download the bundle by running the command:, (*5)
``` bash
$ php composer.phar update artack/mx-api-bundle, (*6)
### Step 2: Enable the bundle
Enable the bundle in the kernel:
``` php
<?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., (*7)
``` php
/* @var $mxapi \Artack\MxApi\ArtackMxApi */
$mxapi = $this->get('artack.mxapi');, (*8)
$response = $mxapi->setPath('Contact')->get();
```, (*9)
License
This bundle is under the MIT license. See the complete license in the bundle:, (*10)
Resources/meta/LICENSE