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
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-05-19