2017 © Pedro Peláez
 

library rackspaceuploader

A CiiMS plugin to upload files to Rackspace Cloud files CDN

image

ciims-plugins/rackspaceuploader

A CiiMS plugin to upload files to Rackspace Cloud files CDN

  • Saturday, August 13, 2016
  • by charlesportwoodii
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

CiiRackspaceUploader Class

This class enables CiiMS to upload files to Rackspace Cloud Files, or any OpenStack file store, (*1)

Installation

This class should be installed with composer. After installing/uploading CiiMS, run this class, (*2)

# composer require ciims-plugins/rackspaceuploader dev-master # DEV
composer require ciims-plugins/rackspaceuploader 1.0.0 # Versioned

How to Use

To use this class, you need to make a configuration change to your protected/config/params.php file., (*3)

<?php return array(

    [...]
    'ciims_plugins' => array(
        'upload' => array(
            'class' => 'CiiOpenstackUploader',
            'options' => array(
                'useOpenstack' => false,    // Set to true to use a generic opensatck container
                'container' => '',          // The container name
                'username' => '',           // Your Openstack username
                'API_KEY' => '',            // Your Openstack API key
                'region' => '',             // The upload region
                'identity' => '',           // Only applies when using a non Rackspace container
            )
        )
    )
    [...]
);

Options

The following options are available for this class:, (*4)

__useOpenstack__ (optional), (*5)

By default this plugin will attempt to connect to Racksapce Cloud files. If you want to use a generic openstack container, set this value to true, (*6)

__container__ (required), (*7)

The container name, (*8)

__username__ (required), (*9)

The username to access the container, (*10)

__API_KEY__ (required), (*11)

Your container API key, (*12)

__region__ (required), (*13)

The region you want to connect to, (*14)

__identity__ (optional), (*15)

If useOpenstack is set to true, you must specify the identity URL. Al;ternatively if you're connecting to a non US Rackspace Cloud files endpoint, you can specify your identity provider here, (*16)

The Versions

13/08 2016

dev-master

9999999-dev

A CiiMS plugin to upload files to Rackspace Cloud files CDN

  Sources   Download

MIT

The Requires

 

07/02 2015

1.0.0

1.0.0.0

A CiiMS plugin to upload files to Rackspace Cloud files CDN

  Sources   Download

MIT

The Requires