定制 sendee/sendee-php 二次开发

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

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

sendee/sendee-php

最新稳定版本:1.0

Composer 安装命令:

composer require sendee/sendee-php

包简介

a php library for the Sendee API

README 文档

README

sendee-php

Latest Stable Version Quality Gate Status Total Downloads Latest Unstable Version License PHP Version Require

Documentation

The documentation for the Sendee API can be found here

Installation

sendee-php is available on packagist as the sendee/sendee-php package

composer require sendee/sendee-php

Quickstart

Send an SMS

// Send a single SMS using Sendee's REST API and PHP
<?php
$apiKey = "1|ZXXXXXX";

$client = new Sendee\SendeePhp\SendeeClient($apiKey);
$message =  $client->sendMessage(
  '+15555559410', // Text this Number
  [
    'from' => '+15555558108', // From a valid Twilio number
    'body' => 'Queue me up with Sendee'
  ]
);

print $message;

Send a Bulk SMS

// Send a multiple SMS with the same body using Sendee's REST API and PHP
<?php
$apiKey = "1|ZXXXXXX";

$client = new Sendee\SendeePhp\SendeeClient($apiKey);
$message =  $client->sendBulkMessage(
  '+15555558108', // From a valid Twilio Number
  [
    'to' => [ // Text this array of numbers
        '+15555559410','+15555559411','+15555559412',
    ],
    'body' => 'this is an api test bulk'
   ]
);

print $message;

Getting Help

If you need help installing or using the library, file a support ticket.

If you've found a bug in the library or would like new features added open issues or pull requests against this repo!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-27