Download the PHP package 1stel/cloudstack-php-client without Composer
On this page you can find all versions of the php package 1stel/cloudstack-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download 1stel/cloudstack-php-client
More information about 1stel/cloudstack-php-client
Files in 1stel/cloudstack-php-client
Download 1stel/cloudstack-php-client
More information about 1stel/cloudstack-php-client
Files in 1stel/cloudstack-php-client
Vendor 1stel
Package cloudstack-php-client
Short Description Client PHP library for the CloudStack API
License
Package cloudstack-php-client
Short Description Client PHP library for the CloudStack API
License
Please rate this library. Is it a good library?
Informations about the package cloudstack-php-client
CloudStack PHP Client
PHP client library for the CloudStack User API v3.0.0. For older versions, see the tags.
Examples
Initialization
$cloudstack = new CloudStackClient(API_ENDPOINT, API_KEY, SECRET_KEY);
Lists
$vms = $cloudstack->listVirtualMachines();
foreach ($vms as $vm) {
echo("{$vm->id} : {$vm->name} {$vm->state}<br>");
}
Asynchronous tasks
$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>");
}
All versions of cloudstack-php-client with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.9
The package 1stel/cloudstack-php-client contains the following files
Loading the files please wait ....