承接 epmnzava/nextsms 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

epmnzava/nextsms

最新稳定版本:1.0.2

Composer 安装命令:

composer require epmnzava/nextsms

包简介

PHP package for easy integration with NextSms Bulk SMS Solution

README 文档

README

Latest Version on Packagist Total Downloads

Installation

You can install the package via composer:

composer require epmnzava/nextsms

Usage

use Epmnzava\Nextsms;

public function send_sms_to_one_destination(){

    $sms=new Nextsms("https://messaging-service.co.tz", "Storewid", "3434");
    $response=$sms->sendSms("hellow world", "STOREWID", "255679079774");
}

public function send_sms_to_multiple_destination(){

    $sms=new Nextsms("https://messaging-service.co.tz", "Storewid", "3434");

    $response=$sms->send_sms_mutipledestination("hellow world", "STOREWID", ["255679079774","255768172016"]);
}

//getting all delivery reports

public function getAllDeliveryReports(){
    $sms=new Nextsms("https://messaging-service.co.tz", "Storewid", "3434");
    $response=$sms->getAllDeliveryReports();
}

//getting single message delivery report


public function getSingleMessageDeliveryReport(){
    $messageId="28089492984101631440";
    $sms=new Nextsms("https://messaging-service.co.tz", "Storewid", "3434");

        $reponse=$sms->getMessageDeliveryReport($messageId);

}


//get your  sms balance

public function getBalance(){
    $sms=new Nextsms("https://messaging-service.co.tz", "Storewid", "3434");

        $reponse=$sms->getSmsBalance();
}

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-12-20