djamadeus/mailchimp-bundle2
最新稳定版本:1.0.2
Composer 安装命令:
composer require djamadeus/mailchimp-bundle2
包简介
Symfony2 Bundle for Mailchimp v2.0 API and Export v1.0 API
关键字:
README 文档
README
Symfony2 Bundle for Mailchimp 2.0 API and Export 1.0 API
Installation
The bundle can be installed via Composer. You can find it on Packagist.
Configuration
Just add the following lines to your app/config/config.yml
wunderdata_mailchimp:
apikey: verysecretkey-us1
opts:
debug: false
timeout: 600
Usage
The bundle uses the official PHP implementation of the Mailchimp 2.0 API. There is no wrapper class or anything around it. They have an example project to get you started.
You can get a ready-to-use instance of the Mailchimp client from the container:
// example action in a controller public function exampleAction() { $client = $this->get('wunderdata_mailchimp.client'); }
Unfortunately there is no official PHP implementation of the Export 1.0 API. Its implementation can be found in the class \Wunderdata\MailchimpBundle\Client\ExportClient. It is using Buzz internally to perform the needed HTTP requests.
You can get a ready-to-use instance of the export client from the container:
// example action in a controller public function exampleAction() { $client = $this->get('wunderdata_mailchimp.export_client'); }
统计信息
- 总下载量: 57
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-10