定制 eliksir/sendgrid-subuser-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

eliksir/sendgrid-subuser-api

最新稳定版本:v0.3.1

Composer 安装命令:

composer require eliksir/sendgrid-subuser-api

包简介

Library to easily work with the SendGrid Subuser API

README 文档

README

This PHP library makes it easy to work with the SendGrid Subuser API. It was made to scratch our own itch, and as such it currently only implements the parts of the API that we needed. Please feel free to request additional features or send pull requests.

Basic Usage

$sendgrid = new SendGrid\Api("my_username", "my_password");
// Create a new sub user
$user = new SendGrid\SubUser("wanted_username", "password",
        "email@example.com", "email.domain.example.com");
$sendgrid->addSubUser($user);
// Retrieve existing sub user
$other = $sendgrid->getSubUser("sub_username");
// Assign IPs to a user
$other->assignIps(array("1.2.3.4"));

See example/example.php for more examples.

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD
  • 更新时间: 2014-03-11