PHP code example of easychen / serverchan-sdk
1. Go to this page and download the library: Download easychen/serverchan-sdk 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/ */
easychen / serverchan-sdk example snippets
$ret = scSend('sendkey', 'title', 'desp', ['noip' => 1,'tags'=>'服务器报警|图片']);
print_r($ret);