承接 shaab/sms 相关项目开发

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

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

shaab/sms

Composer 安装命令:

composer require shaab/sms

包简介

A package for make SMS sending using various gateway under a single package. It will reduce the complisity of the code.

README 文档

README

GitHub issues GitHub forks GitHub stars GitHub license GitHub All Releases Twitter

SMS Gateway Handler

This Laravel Package will helpto send SMS through various SMS Gateways simpler than ever.

Supported Gateways

  1. MSG91
  2. TextLocal

Installation

  1. Include the package in your project

    composer require "shaab/sms"
    
  2. Add the service provider to your config/app.php providers array:

    If you're installing on Laravel 5.5+ skip this step

    • Add providers
      shaab\sms\SmsServiceProvider::class,
      
    • Add Aliase
      'SMS'   =>  shaab\sms\Facades\sms::class,
      
  3. Publish the Vendor Config files by running:

    php artisan vendor:publish --provider="shaab\sms\SmsServiceProvider"
    
    • Config the SMS Gateway in Config/sms.php.

Usage

  1. Add Facade to the controller:

    use shaab\sms\Facades\sms;
    
  2. Call Send function

    • Minimal

      Syntax: SMS::send($to,$message);

      SMS::send(9567######,"Thank you!");
      

      to: Single mobile number or an array of numbers

      Note: Its basic function in the package.

    • Advanced

      using Trait

      --In development--

  3. Check SMS Balance

    • MSG91

      Syntax: SMS::msg91_balance(Route);

      SMS::msg91_balance(4);
      

      Output: Return sms balance in given route.

    • TextLocal

      SMS::textlocal_balance();
      

      Output: Return sms balance in given route.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-07-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固