2017 © Pedro Peláez
 

library cloudstack-php-client

image

1stel/cloudstack-php-client

  • Saturday, March 3, 2018
  • by nbowyer_1stel
  • Repository
  • 3 Watchers
  • 0 Stars
  • 238 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 22 Forks
  • 0 Open issues
  • 5 Versions
  • 2 % Grown

The README.md

CloudStack PHP Client

PHP client library for the CloudStack User API v3.0.0. For older versions, see the tags., (*1)

Examples

Initialization, (*2)

$cloudstack = new CloudStackClient(API_ENDPOINT, API_KEY, SECRET_KEY);

Lists, (*3)

$vms = $cloudstack->listVirtualMachines();
foreach ($vms as $vm) {
    echo("{$vm->id} : {$vm->name} {$vm->state}<br>");
}

Asynchronous tasks, (*4)

$job = $cloudstack->deployVirtualMachine(array(
    'serviceofferingid' => 1,
    'templateid'        => 259,
    'zoneid'            => 1
));
echo("VM being deployed. Job id = {$job->jobid}<br>");

echo("All jobs :<br>");
foreach ($cloudstack->listAsyncJobs() as $job) {
    echo("{$job->jobid} : {$job->cmd}, status = {$job->jobstatus}<br>");
}

The Versions

03/03 2018

2.2.14

2.2.14.0

  Sources   Download

03/03 2018

3.0.0

3.0.0.0

  Sources   Download

18/02 2017

dev-master

9999999-dev

Client PHP library for the CloudStack API

  Sources   Download

The Requires

  • php >=5.5.9

 

The Development Requires

  • ext-curl *

12/12 2016

v3.0.2

3.0.2.0

Client PHP library for the CloudStack API

  Sources   Download

The Requires

  • php >=5.5.9

 

The Development Requires

  • ext-curl *

12/05 2016

3.0.1

3.0.1.0

Client PHP library for the CloudStack API

  Sources   Download

The Requires

  • php >=5.5.9

 

The Development Requires

  • ext-curl *