PHP code example of imhu / ucpaas-sms

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

    

imhu / ucpaas-sms example snippets


Hardywen\UcpaasSms\UcpaasSmsServiceProvider::class,

'UcpaasSms' => Hardywen\UcpaasSms\Facade\UcpaasSms::class,
 
php artisan vendor:publish

UcpaasSms::templateSMS('9635', '123456,3', '138xxxxxx')

UcpaasSms::voiceCode('123123','138xxxx')
app/config/app.php
app/config/ucpaas.php