PHP code example of jacklin / kong-php
1. Go to this page and download the library: Download jacklin/kong-php 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/ */
jacklin / kong-php example snippets
$kong = new \TheRealGambo\Kong\Kong(KONG_URL, KONG_PORT);
$node = $kong->getNodeObject();
print_r($node->getInformation());
$kong = new \TheRealGambo\Kong\Kong(KONG_URL, KONG_PORT);
$apis = $kong->getApiObject();
print_r($apis->list());
json
{
"acklin/kong-php": "0.10.*"
}
}
shell
composer