PHP code example of fastgoo / wechat-hook-phpsdk

1. Go to this page and download the library: Download fastgoo/wechat-hook-phpsdk 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/ */

    

fastgoo / wechat-hook-phpsdk example snippets

bash
src/
    
    WxHook.php  核心管理器,管理Core、Receive
    Core.php 核心类 HTTP请求、功能接口
    Receive.php 接受数据,请求安全数据过滤,以及数据格式化