CaliCastle / YuntongxunSms by cali

云通讯短信
49
0
3
Package Data
Maintainer Username: cali
Maintainer Contact: cali@calicastle.com (Cali Castle)
Package Create Date: 2016-07-22
Package Last Update: 2016-07-22
Language: PHP
License: MIT
Last Refreshed: 2024-12-18 03:05:01
Package Statistics
Total Downloads: 49
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

云通讯 短信Api

composer require cali/yuntongxun-sms

In config/app.php:

Cali\YuntongxunSms\YuntongxunSmsServiceProvider::class,

In aliases array:

'SMS' => Cali\YuntongxunSms\Facade\YuntongxunSms::class,
php artisan vendor:publish

Write configuration inside of the .env file in the root directory.

SMS::sendTemplateMessage($templateId, ['param1','param2'], $phone_number})
SMS::voiceVerify('123123','138xxxx')