定制 sammaye/mailchimp 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

sammaye/mailchimp

最新稳定版本:1.4.2

Composer 安装命令:

composer require sammaye/mailchimp

包简介

A PHP API wrapper for v3.0 for the MailChimp API

README 文档

README

A PHP API wrapper for v3.0 of the MailChimp API

Installing

The recommended way to install this is via composer, however, if you install it manually it will need Guzzle as well.

How to use

$client = new sammaye\mailchimp\Chimp();
$client->apikey = 'chimp_chimp';
$client->get('/');

Other than that you are done. Everything else please refer to the documentation for the API: http://developer.mailchimp.com/documentation/mailchimp/reference/overview/

Exceptions

The only other point I need to make is about exceptions.

I have implemented every exception as a class name which extends the base MailChimpException.

This will make it easier to detect specific errors but also if you wish to catch any errors this API may bring up then you need to catch the MailChimpException.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-05-19