定制 ibtdi/hisms 二次开发

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

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

ibtdi/hisms

Composer 安装命令:

composer require ibtdi/hisms

包简介

send sms - using hisms.ws : an sms provider

关键字:

README 文档

README

The ibtdi/hisms package provides a fluent interface to send sms using HISMS in your php application.

HISMS Intro

we can send sms using HISMS sms service provider that allow only saudi arabia phone numbers

List Of Supported Numbers

saudi arabia phones

Install

You can install the package via composer:

composer require ibtdi/hisms

Usage

  • After install package run the installation command
php artisan hisms:install

or

vendor:publish --provider="Ibtdi\HiSms\HISmsServiceProvider" --tag="config"
  • Set your env variables - take a look at config/hisms.php
  • Send first sms:
HiSms::to(['9665 xxx xxxx','9665 xxx xxxx'])
        ->message('hello world')
        ->send();

and that's it...

  • other ways you would like to get some response it can be done like so:
$response=HiSms::to(['9665 xxx xxxx','9665 xxx xxxx'])
        ->message('hello world')
        ->send()
        ->andGetMessage();
  • there are other functions to get infos individual not chaining andGetStatus andGetCode
 $response=HiSms::to(['9665 xxx xxxx','9665 xxx xxxx'])
        ->message('hello world')
        ->send()
        ->andGetStatus();
 $response=HiSms::to(['9665 xxx xxxx','9665 xxx xxxx'])
        ->message('hello world')
        ->send()
        ->andGetCode();
  • andGetStatus : bool andGetMessage : string andGetCode : int

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email mohamednasrali00@gmail.be instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固