think.studio/laravel-mail-marketing
最新稳定版本:1.2.0
Composer 安装命令:
composer require think.studio/laravel-mail-marketing
包简介
Simple application layer where you can quickly change your mail marketing service
README 文档
README
Simple application layer where you can quickly change your mail marketing service. Supports PHP 8.1, 8.2 and Laravel 9, 10, 11.
Services
- Mailchimp
Installation
Install the package via composer:
composer require think.studio/laravel-mail-marketing
Also need install your driver package:
# mailchimp composer require drewm/mailchimp-api # campaignmonitor composer require campaignmonitor/createsend-php
You can publish the config file with:
php artisan vendor:publish --provider="MailMarketing\ServiceProvider" --tag="config"
Configuration in .env (optional)
MAILCHIMP_API_KEY=101....yj6-us15
Usage
\MailMarketing\Facades\MailMarketing::driver() ->addMembersToList( $this->listId, $this->members ); // or MailMarketing::addList($name, $data); // or MailMarketing::driver('mailchimp')->addList($name, $data);
A complete list of methods can be found in the interface
Credits
统计信息
- 总下载量: 33
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-12