bobach22 / rapidprosms
用于使用短信服务的包
dev-main
2023-01-05 13:15 UTC
Requires
- php: >=7.1.3
- guzzlehttp/guzzle: ^6.5|^7.0.1
- illuminate/support: ^7.0|^8.12
Requires (Dev)
- orchestra/testbench: 5.0
- phpunit/phpunit: ^9.5
This package is not auto-updated.
Last update: 2024-09-25 23:24:11 UTC
README
安装
您可以通过composer安装此包
composer require bobach22/smsclient
发布包所需的文件
php artisan vendor:publish --provider="Bobach22\SmsClient\SmsServiceProvider"
在config文件夹中为sms.php设置参数
用法
use Bobach22\SmsClient\Facades\Sms; $sms=Sms::send('any number','your message'); // with array of numbers // Sms::send(['number1','number2'],'your message') $res=$sms->response()