Download the PHP package sammaye/yii2-rackspace without Composer
On this page you can find all versions of the php package sammaye/yii2-rackspace. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-rackspace
yii2-rackspace
A Yii2 plugin for some Rackspace lovin' so simple even your dog will be able to use it.
Defining the Extension
Here is the full definition, from an example:
'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.
At the time of writing there are currently two values for the identityEndpoint option:
US_IDENTITY_ENDPOINTUK_IDENTITY_ENDPOINT
These directly relate to the SDK's own.
Now with this definition you can just use the API like the component doesn't even exist, for example:
$cdn = Yii::$app->rackspace->cdnService();
var_dump($cdn->listServices());
Links
All versions of yii2-rackspace with dependencies
PHP Build Version
Package Version
Requires
rackspace/php-opencloud Version
~1.16
The package sammaye/yii2-rackspace contains the following files
Loading the files please wait ...