PHP code example of cabbagerun / php-stats-sdk
1. Go to this page and download the library: Download cabbagerun/php-stats-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/ */
cabbagerun / php-stats-sdk example snippets
bash
#启动http服务
php example\click_house.php
#启动http服务
php example\http.php
#通过http服务访问接口
http://localhost:9501/Controller/action
#没有启动http服务时,直接访问接口
php example\api.php
#启动消费任务
php example\task.php