PHP code example of wzhanjun / pusher

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

    

wzhanjun / pusher example snippets



	'default' => 'igetui',

    'pusher' => [

        'igetui' => [
            'url'               => 'http://sdk.open.api.getui.net/apiex.htm', //  http://sdk.open.api.igexin.com/apiex.htm',
            'version'           => '4.1.0.0',
            'timeout'           => 30,
            'default_client'    => 'demo',
            'clients'           => [
                'demo'      => [
                    'app_id'        => 'XXXXXXXXXXXXXXXXXXXXX',
                    'app_key'       => 'XXXXXXXXXXXXXXXXXXXXX',
                    'app_secret'    => 'XXXXXXXXXXXXXXXXXXXXX',
                    'master_secret' => 'XXXXXXXXXXXXXXXXXXXXX',
                ],
                'android'      => [
                    'app_id'        => 'XXXXXXXXXXXXXXXXXXXXX',
                    'app_key'       => 'XXXXXXXXXXXXXXXXXXXXX',
                    'app_secret'    => 'XXXXXXXXXXXXXXXXXXXXX',
                    'master_secret' => 'XXXXXXXXXXXXXXXXXXXXX',
                ],
            ]
        ],

    ],