Download the PHP package jamiehannaford/php-opencloud-zf2 without Composer

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

php-opencloud-zf2

A simple but powerful ZF2 module that allows your web app to communicate easily with Rackspace/OpenStack APIs. You can manage your cloud account configurations, use Swift helper functions in your view files, monitor your cloud servers, sync directories with a CDN, update DNS records... In short, you get the full benefit of an SDK without all the overhead.

Installation

Step 1: Install Composer (if you haven't already)

Step 2: Install the module

This will automatically update your composer.json configuration file and force Composer to install the module. Alternatively, you can manually insert the requirement like so:

And then run:

Step 3: ZF2 Configuration

You need to update your application.config.php file, and add in the module:

You then need to make sure you have an opencloud.local.php configuration file in your config/autoload directory - since this is what holds all your API configuration values. To make life easier, you can copy the dist version shipped with this project:

If using Rackspace, you must fill in the username and apiKey config options.

If using OpenStack, you must fill in the username, password config options, along with either tenantId or tenantName.

Usage

You can retrieve a Rackspace client object using the Service Manager:

Once this client object is available, you have full access to the php-opencloud SDK.

View helpers

Please see the CloudFilesHelper wiki for more information about how you can streamline the process of accessing CDN resources in your HTML views.


All versions of php-opencloud-zf2 with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
rackspace/php-opencloud Version ~1.9
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 jamiehannaford/php-opencloud-zf2 contains the following files

Loading the files please wait ....