定制 pluritech-total-voice/total-voice-php 二次开发

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

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

pluritech-total-voice/total-voice-php

Composer 安装命令:

composer require pluritech-total-voice/total-voice-php

包简介

This package has the aim of send SMS with Total Voice Api.

README 文档

README

SMS sender for PHP using Total Voice API

In progress.

Installation

The Library can be installed with Composer. Run this command:

composer require pluritech-total-voice/total-voice-php

Usage

Note: This version of the Total Voice API for PHP requires PHP 5.3.3 or greater.

Simple use example.

require_once __DIR__ . '/vendor/autoload.php'; // change path as needed



use \Exception;
use TotalVoicePhp\TotalVoicePhp as TotalVoicePhp;

private $totalVoiceSMS = null;

$account       = array('token' => 'your_token', 'url' => 'api_endpoint');
$totalVoicePhp = new TotalVoicePhp('TotalVoiceSMS',$account);//TotalVoiceSMS - determine that a class responsible for send SMS will be instantiated
$this->totalVoiceSMS = $totalVoicePhp->getMyClass();

$data = array(
    'number_destiny'  => $number, 
    'message'         => $message,
    'user_can_answer' => false,
    'multi_sms'       => false
);

$this->totalVoiceSMS->setSMSEntity($data);
$response = $this->totalVoiceSMS->send(); 

Documentation

In progress.

Tests

In progress.

Contributing

Feel free to make your pull request, chip in to suggestion or report issues.

License

MIT © Guilherme Valentim e Natália Gonçalves Machado

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-06-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固