2017 © Pedro Peláez
 

yii2-extension yii2-aws

wrapper for yii aws

image

bryglen/yii2-aws

wrapper for yii aws

  • Thursday, May 29, 2014
  • by bryglen
  • Repository
  • 3 Watchers
  • 5 Stars
  • 4,078 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Yii 2 Aws wrapper

wrapper for yii aws, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist bryglen/yii2-aws "*"

or add, (*4)

"bryglen/yii2-aws": "*"

to the require section of your composer.json file., (*5)

in your main.php, your configuration would look like this, (*6)

'components' => [
    'aws' => [
        'class' => 'bryglen\aws\BaseAws',
        'key' => 'your_key',
        'secret' => 'your_secret',
        'region' => 'your_region',
        // optional config file
        //'configFile' => require_once('/path/to/aws.config.php'),
    ]
]

Usage

Once the extension is installed, simply use it in your code by :, (*7)

/* @var $aws \bryglen\aws\BaseAws */
$aws = Yii::$app->aws;
$s3 = $aws->get('s3');
$s3->putObject(.....)

$ses = $aws->get('ses');

The Versions

29/05 2014

dev-master

9999999-dev

wrapper for yii aws

  Sources   Download

MIT

The Requires

 

extension php yii2 aws