miaomiao66 / sendsms by miaomiao66

laravel send text message
4
0
0
Package Data
Maintainer Username: miaomiao66
Maintainer Contact: miaoq92@163.com (miaoqi)
Package Create Date: 2017-09-06
Package Last Update: 2017-09-13
Language: PHP
License: MIT
Last Refreshed: 2024-03-26 15:02:02
Package Statistics
Total Downloads: 4
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 0
Total Forks: 0
Total Open Issues: 0

laravel-sms

Mobile phone short message service package based on laravel5

support:创蓝253,容联·云通讯

installation

Via Composer

composer require miaoqi/send-sms dev-master

composer.json

"miaoqi/send-sms": "dev-master"

configuration

//service provider
'providers' => [
        // ...
        Miaoqi\SendSms\SendSmsServiceProvider::class
    ]
    
//aliases
'aliases' => [
    //...
    'SendSms' => Miaoqi\SendSms\Sms::class    
]

//create the configuration file
php artisan vendor:publish

configuration items

The following is a configuration reference for the SMS proxy platform supported by this program:


//The supported SMS platform is 创蓝253
'api_send_url' => 'http://sms.253.com/msg/send',  //Send SMS interface URL
'api_account' => 'your_account',                  //user
'api_password' => 'your_password'                 //password

//The supported SMS platform is 容联·云通讯
'api_account_sid' => 'your_account_sid', //The primary account,the AUTH TOKEN in the main account of the official website.
'api_auth_token' => 'your_auth_token',   //Master account token,the AUTH TOKEN in the main account of the official website.
'api_app_id' => 'your_app_id',           //APP ID.
'api_server_ip' => 'server_ip',          //Request the address,sandbox environment:sandboxapp.cloopen.com,the production environment:app.cloopen.com.
'api_server_port' => 'server_port',      //Request port,The production environment is consistent with the sandbox environment.
'api_soft_version' => 'soft_version',    //The version number of REST,get it in the official website documentation.

Security

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