Download the PHP package sandwave-io/cloud-sdk-php without Composer

On this page you can find all versions of the php package sandwave-io/cloud-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cloud-sdk-php

PCextreme Cloud API - PHP SDK

Codecov GitHub Workflow Status Packagist PHP Version Support Packagist PHP Version Support Packagist Downloads

How to contribute

Feel free to create a PR if you have any ideas for improvements. Or create an issue.

These tools will also run in GitHub actions on PR's and pushes on master.

Usage

Available methods

The endpoints that are currently implemented are not all existing endpoints. If you need an other endpoint to be implemented, create an issue or open a PR. 🙂

Deploy server

This will return the ID of the created server:

List servers

This will return an array having all servers attached to your account.

Show server

You can also check out a specific server.

Server details

You could use this call to fetch data from the underlying Cloudstack system.

Check out the cloudstack docs to see all the available information.

Upgrade server

In the case that you want to upgrade an existing server, you can use upgradeServer.

Note that the VM must be stopped when you run this.

Reset server

Detach rescue ISO server

Rescue ISO's can be used to salvage a broken server.

Attach rescue ISO server

Rescue ISO's can be used to salvage a broken server.

Edit display name server

Reboot server

Start server

Stop server

Delete server

Note: there is a grace period within Cloudstack. So the data will not be immediately lost.

Get current RAM usage for account

Accounts are limited on resources by default. You can retrieve your current resource usage using this method.

If you wish to broaden your limits, contact PCextreme.

Get offers for account

Before you deploy or upgrade a server, you must retrieve the offer ID that you want to use.

Get datacenters for account

For a deployment, you also need to know what datacenter to deploy in.

The response also contains the availability of standard and HA VM's. These are two different types of storage, the difference between the two VM's can also be identified based on the offer data.

Get templates for account

The templates used for VM deployments are predefined and can be seen using listTemplates.

Get private networks for account

The templates used for VM deployments are predefined and can be seen using listTemplates.

Get console url for current sever

If you wish to open a browser based console, you can use this method to generate a URL.


All versions of cloud-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-json Version *
guzzlehttp/guzzle Version ^7.3.0
guzzlehttp/psr7 Version ^1.4.1
ramsey/uuid Version ^4.2.3
symfony/yaml Version ^4.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sandwave-io/cloud-sdk-php contains the following files

Loading the files please wait ....