PHP code example of vhxsd / kongclient

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

    

vhxsd / kongclient example snippets




ongClient\Client;
$config = [
    'gate_way_url' => '',
    'api_key' => '',
    'api_secret' => '',
    'client_name' => '',
    'link_tag' => '&',
];

$client = new Client($config);

$path = '';
$res = $client->request($path);
var_export($res);