PHP code example of jiguang / jmessage

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

    

jiguang / jmessage example snippets




$ cp examples/config.php.example examples/config.php
bash
# 假定当前目录为 JMessage 源码所在的根目录
$ php examples/friend_examples.php