PHP code example of cloudcontrol / phpcclib

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

    

cloudcontrol / phpcclib example snippets



use CloudControl\API;

$api = new Api();
$email = '[email protected]';
$password = 's€cr€t';
$api->auth($email, $password);

foreach($api->application_getList() as $app){
    printf("%s (%s)%s", $app->name, $app->type->name, PHP_EOL);
}