5818959/smstraffic-notification-channel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

5818959/smstraffic-notification-channel

Composer 安装命令:

composer require 5818959/smstraffic-notification-channel

包简介

SmsTraffic Notification Channel for laravel.

README 文档

README

Details

Based on Laravel Nexmo Notification Channel.

Official Documentation

See documentation for Laravel Nexmo Notification Channel on the Laravel website.

Configuration options

You will need to add a few configuration options to your config/services.php configuration file. You may copy the example configuration below to get started:

'smstraffic' => [
    'login' => env('SMSTRAFFIC_LOGIN'),
    'password' => env('SMSTRAFFIC_PASSWORD'),
    'sms_from' => env('SMSTRAFFIC_SMS_FROM'),
],

The sms_from option is the phone number that your SMS messages will be sent from. You should use a phone number from your SmsTraffic control panel.

For testing purposes you may want to change the URL that smstraffic-client makes requests to from https://api.smstraffic.ru/multi.php to something else. You can do this by providing a url option.

'smstraffic' => [
    ...
    'url' => env('SMSTRAFFIC_URL'),
],

SmsTrafficMessage attributes

SmsTrafficMessage has additional attributes:

  • from attribute allows you to override the sms_from configuration option;
  • to attribute allows you to override the recipient phone number;
  • type attribute allows you to set the type of the message; this is useful if you plan to distinguish between messages in your app later.

License

Laravel SmsTraffic Notification Channel is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固