Skip to content

📲 一款满足你的多种发送需求的短信发送组件

Notifications You must be signed in to change notification settings

liuqingliu/easy-sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy SMS

📲 The easiest way to send short message.

Build Status Latest Stable Version Latest Unstable Version Build Status Scrutinizer Code Quality Code Coverage Total Downloads License

Usage

use Overtrue\EasySms\EasySms;

$config = [
    'default' => 'error-log',
    'signature' => '【xxx公司】',
    'gateways' => [
        /*...*/
        'error-log' => [
            'file' => '/tmp/easy-sms.log',
        ],
        /*...*/
        'yun-pian' => [
            'api_key' => '824f0ff2f71cab52936a13ede3xxxxx',
        ],
    ],
];
$easySms = new EasySms($config);
$easySms->gateway('error-log')->send(1888888888, 'hello world!');

License

MIT

About

📲 一款满足你的多种发送需求的短信发送组件

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%