定制 novintarhpars/send-voice-message 二次开发

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

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

novintarhpars/send-voice-message

Composer 安装命令:

composer require novintarhpars/send-voice-message

包简介

the project for send voice message by simotel

README 文档

README

About The Project

this library created for Send Voice Message in Simotel

Install Library

composer require novin-tarh-pars/send-voice-message

Usage

1.Create and set enviroment variable .env file

API_BASE_URL=<YourSimotelApiUrl>           //example https://0.0.0.0/api/v3/autodialer/
API_KEY=<YourSimotelApiToken>              //show or create in simotel admin panel maintenance -> api accounts 
API_USERNAME=<YourSimotelApiUsername>      //show or create in simotel admin panel maintenance -> api accounts
API_PASSWORD=<YourSimotelApiPassword>      //show or create in simotel admin panel maintenance -> api accounts

2.Use Class FastSimotelService in your controller

<?php
require_once './vendor/autoload.php';
use NovinTarhPars\SendVoiceMessage;

/**
 $url = file | ["http://"] : File | URL         // file type mp3,mp4,wav
 $numbers = ["0999999999"] : array
 $options = [
    "interface_context" => "",
    "interface_text" => "",
    "try_interval" => "600",
    "try" => 1,
    "start" => "2020-01-01 17:00",
    "end" => "2020-01-02 17:00",
    "description" => "this campain create by api",
    "count" => 1
 ] : array
*/

SendVoiceMessage::run($numbers,$url,$options);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2021-11-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固