定制 foxlaby/smslaby-client 二次开发

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

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

foxlaby/smslaby-client

Composer 安装命令:

composer require foxlaby/smslaby-client

包简介

You can send sms through a our server using your sender id encryption key.

README 文档

README

You can send sms through a our server using your sender id by encryption key.

Install via composer

$ composer require foxlaby/smslaby-client

Use

use FoxLaby\SMSLaby\Send;

$sms = Send::init('<hash_key>')
    ->lang('ar')
    ->to('01×××××××××')
    // ->sandbox(true)
    ->message('body');

Use in laravel

$sms = smslaby()
    ->lang('ar')
    ->to('01×××××××××')
    // ->sandbox(true)
    ->message('body');

Hash Key:-

Add a value you choose but you must add this value in a .env file

SMSLABY_HASH_KEY=<hash_key>

Methods:-

  • lang: Add lang alpha-2 (ar|en).
  • to: Add the recipient number.
  • sandbox: For trial only, in this case the message will not be sent to the recipient but to our dashboard.
  • message: Message content.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固