承接 ahmed-aliraqi/expert-texting-sms 相关项目开发

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

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

ahmed-aliraqi/expert-texting-sms

Composer 安装命令:

composer require ahmed-aliraqi/expert-texting-sms

包简介

ExpertTexting REST API for laravel applications allows you to send text and unicode messages, read unread messages, check your account balance etc. ExpertTexting API is served over HTTPS. To ensure data privacy, unencrypted HTTP is not supported.

README 文档

README

ExpertTexting REST API for Laravel applications allows you to send text and unicode messages, read unread messages, check your account balance etc. ExpertTexting API is served over HTTPS. To ensure data privacy, unencrypted HTTP is not supported.

Documentation

Instalition

  • first create a new account in expert texting
    https://www.experttexting.com/appv2/

      composer require ahmed-aliraqi/expert-texting-sms
    
  • add provider class to app.php in config folder .

      Aliraqi\ET\ServiceProvider::class,
    
  • add aliases class

      'SMS' => Aliraqi\ET\SMSFasade::class,
    
  • then call this command from terminal

      php artisan vendor:publish
    

    you can get this file from this path on your project config/sms_et.php

      return [
          /**
           * All requests require your user credentials & API key, which you can find under "Account Settings"
           * in [https://www.experttexting.com/appv2/Dashboard/Profile] .
           */
          'username' => '', // Required. Your ET username. Ex: starcity
      
          'password' => '', // Required. Your ET password. Ex: StarCity123
      
          'api_key' => '',  // Required. Your API key. Ex: sswmp8r7l63y
      ];
    

Usage

  • Sends a text or unicode message. :

      $sms = SMS::from('YourName')
      	->to('PhoneNumber')
      	->Message('Hello World')
      	->send();
      
      // Get response object.
      dd($sms->getResponse());
    

    result

      {
         "Response": {
            "message_id": "671729375",
            "message_count": 1,
            "price": 0.0085
         },
         "ErrorMessage": "",
         "Status": 0
      }
    
  • Search a previously sent message for a given message id.

      SMS::getStatus($messageId)->getResponse();
    
  • List all unread received messages.

      SMS::getUnreadInbox()->getResponse();
    
  • Retrieve your current account balance.

      SMS::getBalance()->getResponse();
    

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-05-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固