PHP code example of guoguo882010 / esms100

1. Go to this page and download the library: Download guoguo882010/esms100 library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

guoguo882010 / esms100 example snippets


$config = [
            'account'  => '123456',//账号
            'password' => '888888',//密码
        ];

$sms = new \RSHDSDK\ESMS100\ESMS100($config);

$sms->send('13333333333','【签名】短信内容');