PHP code example of yinyi / push
1. Go to this page and download the library: Download yinyi/push 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/ */
yinyi / push example snippets
$push = new Push();
$push->push($key, $to, $param);
$key = "invite_register_success";
$to = 18927424525;
$param = [
"code" => "200",
"time" => "15",
"amount" => "15"
];