stefna/php-mailchimp-api-v3
最新稳定版本:2.0.1
Composer 安装命令:
composer require stefna/php-mailchimp-api-v3
包简介
Mailchimp v3 API client for PHP
关键字:
README 文档
README
API Client for MailChimp v3 with a complete model
Uses MailChimp API v3.
Requirements
- PHP >= 7.4 with cURL extension
- Guzzle or any other "php-http/client-implementation
Installation
composer require stefna/php-mailchimp-api-v3
Basic usage
<?php // This file is generated by Composer require_once 'vendor/autoload.php'; $factory = new \Nyholm\Psr7\Factory\Psr17Factory(); $client = new \Stefna\MailChimp\Client( httpClient: $httpClient, apiKey: $apiKey, requestFactory: $factory, uriFactory: $factory, streamFactory: $factory, ); $allMembers = $client->lists()->members($listId)->all(); $email = $allMembers[0]->emailAddress;
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 342
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-23