承接 gwk/mailjetbundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

gwk/mailjetbundle

最新稳定版本:0.1.2

Composer 安装命令:

composer require gwk/mailjetbundle

包简介

Mailjet Bundle for Symfony 2

README 文档

README

This bundle makes the mailjet library easy to use from a Symfony 2 library

Installation

Simply add the following to your composer.json file

{
    "require": {
        "gwk/mailjetbundle": "0.1"
    }
}

And use composer to install the bundle:

composer.phar update gwk/mailjetbundle

Now add the bundle to your app/AppKernel.php:

$bundles[] = new GWK\MailjetBundle\GWKMailjetBundle();

Configuration

gwk_mailjet:
	api_key: "YOUR API KEY" # Required
	secret_key: "YOUR SECRET KEY" # Required
	debug: true # Optional, defaults to %kernel.debug%
	debug_level: 2 # Optional, Mailjet debug level, defaults to 1 not used if debug = false
	format: xml # Optional, the format in which to receive results, defaults to json

Usage

In your code simply request the "mailjet" service to start using it:

$mailjet = $this->get("mailjet");

$mailjet->listsAddContact(array('method' => 'POST', 'contact' => 'foo@bar.com', 'id' => '%list_id%'));

License

MIT, See LICENSE

WARNING Mailjet has attached no license to their library so I'm assuming it's public domain code.

统计信息

  • 总下载量: 309
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-02-07