定制 springedge/laravel-sms 二次开发

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

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

springedge/laravel-sms

Composer 安装命令:

composer require springedge/laravel-sms

包简介

Send sms from laravel using spring edge sms gateway API

README 文档

README

Add sms sending capabilities to your Laravel using Spring Edge (https://www.springedge.com) APIs

Requirements

  • Install and setup Laravel work environment
  • Sign up for a free Trail Messaging account
  • Create a new apikey from developers section of sms account
  • Setup sender name for sms account.

Installation

EITHER via composer:

composer require springedge/laravel-sms

OR by adding the following to your composer.json file and running "composer update"

"require": {
    ...
    "springedge/laravel-sms": "1.0.*"
}

Usage

Send Text message:

apikey = "675031xxxxxxxxxxxx"
sender = "SEDEMO"

sms = SmsApi(apikey, sender)

sms = sms.send_sms(
    recipient="902000xxxx",
    message="Hello, This is a test message from spring edge"
)

Success Response:

{
 "groupID":xxxxxx,
 "MessageIDs":"xxxxxxx-xx",
 "status":"AWAITED-DLR"
}

Or in case of an error:

{
  "error":"Invalid Mobile Numbers"
}

Support

For any support or query please visit: https://www.springedge.com

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2019-06-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固