sendstreak/sendstreak-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

sendstreak/sendstreak-php

最新稳定版本:1.0.1

Composer 安装命令:

composer require sendstreak/sendstreak-php

包简介

SendStreak client for PHP

README 文档

README

SendStreak is a simple interface that lets you integrate quickly with email services such as Mailchimp, Sendgrid or even AWS SES or Gmail to decouple your audience, email history and templates from your email provider.

Installation

$ composer require sendstreak/sendstreak-php

Usage

$client = new SendStreak\SendStreakPhp\SendStreakClient("YOUR_API_KEY");

$contact = new SendStreak\SendStreakPhp\Contact(
    "johndoe@example.com", 
    [
        'firstName' => 'John',
        'lastName' => 'Doe',
        'onboarded' => false
    ]
);
// Push your contacts to SendStreak with as many attributes as you want
$client->updateContact($contact);

// Send them emails using predefined templates
$client->sendMail(
    "johndoe@example.com",
    "customer-welcome-email",
    [
        'username' => 'johndoe'
    ]
);

// You can also do the same asynchronously
$client->updateContactAsync($contact);

$client->sendMailAsync(
    "johndoe@example.com",
    "customer-welcome-email",
    [
        'username' => 'johndoe'
    ]
);

We accept contributions here

If you're a PHP developer using SendStreak and want to contribute to this SDK, we're more than happy to have your pull request here - and your name on the hall of fame forever!

Hall of fame

13.07.2023 lonewolf - Initial version of SendStreak PHP SDK

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固