定制 shafimsp/laravel-sms-notification-channel-mobilyws-driver 二次开发

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

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

shafimsp/laravel-sms-notification-channel-mobilyws-driver

Composer 安装命令:

composer require shafimsp/laravel-sms-notification-channel-mobilyws-driver

包简介

MobilyWs Drive for Laravel SMS Notification Channel

README 文档

README

Installation

To install the PHP client library using Composer:

composer require shafimsp/laravel-sms-notification-channel-mobilyws-driver

The package will automatically register itself.

Driver Prerequisites

MobilyWs is API based driver, this require the Guzzle HTTP library, which may be installed via the Composer package manager:

composer require composer require guzzlehttp/guzzle

MobilyWs Driver

To use the MobilyWs driver, first install Guzzle, then set the driver option in your config/services.php configuration file to mobilyws. Next, verify that your config/services.php configuration file contains the following options:

    'mobilyws' => [
        // Set yor login credentials to communicate with mobily.ws Api
        'mobile' => env('MOBILYWS_KEY', ''),
        'password' => env('MOBILYWS_KEY', ''),

        // Or use the generated apiKey from your mobily.ws account
        'key' => env('MOBILYWS_KEY', ''),

        'sms_from' => env('MOBILYWS_SMS_FROM', ''),

        // Required by mobily.ws Don't Change.
        'applicationType' => 68,

        // Authentication mode. possible values: api, password, or auto
        'authentication' => 'auto',

        // 3 when using UTF-8. Don't Change
        'lang' => '3',

        /*
        |--------------------------------------------------------------------------
        | Define options for the Http request. (Guzzle http client options)
        |--------------------------------------------------------------------------
        |
        | You do not need to change any of these settings.
        |
        |
        */
        'guzzle' => [
            'client' => [
                // The Base Uri of the Api. Don't Change this Value.
                'base_uri' => 'http://mobily.ws/api/',
            ],

            // Request Options. http://docs.guzzlephp.org/en/stable/request-options.html
            'request' => [
                'http_errors' => true,
                // For debugging
                'debug' => false,
            ],
        ],
    ]

License

MobilyWs SMS Notification Driver is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固