Download the PHP package pcextreme/cloudstack without Composer

On this page you can find all versions of the php package pcextreme/cloudstack. 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 cloudstack

github-readme_header

PHP Cloudstack Client

Latest Version Software License Build Status Scrutinizer Coverage Status

This package makes it simple to integrate the Cloudstack API in your PHP applications.

Requirements

The following versions of PHP are supported:

Support for PHP 5.x has been dropped

In favour of stricter type hinting and return types we stopped supporting older PHP versions in new releases.

Please note: General support for PHP 5.x will be ending soon, check the PHP documentation for more information about PHP version support.

If you still require support for PHP 5.x or HHVM you can use the ~0.2 releases of this package.

Installation

Use composer require to add the client to your composer.json file, please check the Composer documentation for more information about Composer.

Usage

There are various ways to interact with the Cloudstack API using this package. The easiest and preferred way is to call the Cloudstack 'commands' directly as a method on the client.

Internally the client resolves the command using the __call magic method. The command will be automatically resolved and the provided options are verified. Also when everything goes as expected the API response is automatically parsed.

The client uses an API list mapping stored in the cache folder do determine if an API command exists and all required parameters are provided. This list is generated using Cloudstack's listApis command.

Directly calling the command method

Its also possible to bypass the __call magic method and call the command method directly.

Manually accessing the API

If for some reason the cache/api_list.php is removed, outdated or gets corrupted you can access the API directly by building a request manually. This bypasses all previously mentioned checks but still parses the response.

Updating the API list

You can update or regenerate the provided API list using the bin/cloudstack CLI.

You can also get a list of available CLI commands.

Contributing

This package is open-source and welcomes issues and pull requests from anyone. Before opening pull requests, please read our short Contribution Guide.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of cloudstack with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
guzzlehttp/guzzle Version ~6.0
symfony/console Version ^3.0 || ^4.0
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 pcextreme/cloudstack contains the following files

Loading the files please wait ....