SMS Sending Agent
Install as a phwoolcon package
git clone git@github.com:phwoolcon/bootstrap.git sms-agent
cd sms-agent
bin/import-package git@github.com:phwoolcon/sms-agent.gitAccess the sender's website and create an account before use this software.
List of senders:
- sms-cn: 云信 sms.cn
Create production config, choose the default sender(sms-cn by default), and fill up the sender account info:
cp app/config/sms-agent.php app/config/production/sms-agent.php
vim app/config/production/sms-agent.phpuse SmsAgent;
$mobile = '13579246801';
$content = 'Test message';
SmsAgent::send($mobile, $content)You can build a self hosted agent to centralize SMS sending stubs for all your applications, with package phwoolcon/sms-agent-admin.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email fishdrowned@gmail.com instead of using the issue tracker.
The Apache License, Version 2.0. Please see License File for more information.