ATTENTION: This repository is archived and therefore readonly.
The ARTACK mailXpert API Bundle adds support of using the API for mailXpert newsletter software.
The documentation is currently unavailable because of the recent changes to the api.
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
Enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Artack\MxApiBundle\ArtackMxApiBundle(),
// ...
);
}
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();
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE