PHP code example of hongyukeji / laravel-sms

1. Go to this page and download the library: Download hongyukeji/laravel-sms 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/ */

    

hongyukeji / laravel-sms example snippets


$sms = sms_send('13800138000', 'verify_code', ['code' => '1234']);
print_r($sms);