artack/mx-api-bundle

此包已被弃用且不再维护。作者建议使用mailxpert/apibundle包。

mailXpert API 的包

安装: 139

依赖: 0

推荐者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

类型: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

注意:此存储库已存档,因此为只读。

ARTACK/mx-api-bundle

ARTACK mailXpert API Bundle 增加了使用 mailXpert 新闻邮件软件的 API 的支持。

文档

由于最近对 API 的更改,文档目前不可用。

安装

步骤 1:使用 composer 下载 ARTACK/mx-api-bundle

在您的 composer.json 中添加 ArtackMxApi

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

现在运行以下命令让 composer 下载此包

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

步骤 2:启用包

在内核中启用此包

<?php
// app/AppKernel.php

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

步骤 3:开始使用 mailXpert API 服务

按照以下说明开始使用公共服务。您可以利用流畅的接口。

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

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

许可证

此包受 MIT 许可证的约束。请参阅包中的完整许可证。

Resources/meta/LICENSE