Skip to content

📲 The easiest way to send short message.

Notifications You must be signed in to change notification settings

novalevel/easy-sms

 
 

Repository files navigation

Easy SMS

📲 The easiest way to send short message.

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

Requirement

  • PHP >= 5.6

Installation

$ composer require "overtrue/easy-sms"

Usage

use Overtrue\EasySms\EasySms;

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

License

MIT

About

📲 The easiest way to send short message.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%