2017 © Pedro Peláez
 

yii-extension yii2-rackspace

A Yii2 plugin for some Rackspace lovin'

image

sammaye/yii2-rackspace

A Yii2 plugin for some Rackspace lovin'

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

yii2-rackspace

A Yii2 plugin for some Rackspace lovin' so simple even your dog will be able to use it., (*1)

Defining the Extension

Here is the full definition, from an example:, (*2)

'rackspace' => [
    'class' => 'sammaye\rackspace\Rackspace',
    'identityEndpoint' => 'US_IDENTITY_ENDPOINT',
    'username' => 'SomeNotSoAwesomeUser',
    'apiKey' => 'AwesomeKeyInit'
],

Everything is quite self explanatory except for identityEndpoint. This is a string representation of the constant name., (*3)

At the time of writing there are currently two values for the identityEndpoint option:, (*4)

  • US_IDENTITY_ENDPOINT
  • UK_IDENTITY_ENDPOINT

These directly relate to the SDK's own., (*5)

Now with this definition you can just use the API like the component doesn't even exist, for example:, (*6)

$cdn = Yii::$app->rackspace->cdnService();
var_dump($cdn->listServices());

The Versions

29/03 2016

dev-master

9999999-dev

A Yii2 plugin for some Rackspace lovin'

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 yii rackspace

29/03 2016

1.0

1.0.0.0

A Yii2 plugin for some Rackspace lovin'

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 yii rackspace