2017 © Pedro Peláez
 

library aws-sdk-php-phalcon

A simple Phalcon service provider for including the AWS SDK for PHP.

image

iwai/aws-sdk-php-phalcon

A simple Phalcon service provider for including the AWS SDK for PHP.

  • Monday, September 21, 2015
  • by iwai
  • Repository
  • 4 Watchers
  • 21 Stars
  • 303 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 1 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

AWS Service Provider for Phalcon

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

A simple Phalcon service provider for including the AWS SDK for PHP., (*2)

Installation

{
    "require": {
        "iwai/aws-sdk-php-phalcon": "*"
    }
}

Usage

<?php

require __DIR__ . '/vendor/autoload.php';

use Aws\Phalcon\AwsServiceProvider;
use Phalcon\Mvc\Application;

$app = new Application();

$eventsManager = new Phalcon\Events\Manager();
$app->setEventsManager($eventsManager);

$eventsManager->attach("application:boot", new AwsServiceProvider(array(
    'key'    => 'your-aws-access-key-id',
    'secret' => 'your-aws-secret-access-key',
    'region' => 'us-east-1',
)));

echo $app->handle()->getContent();

Example


// Get the Amazon S3 client $s3 = $this->getDI()->get('aws')->get('s3'); // Create a list of the buckets in your account $buckets = array(); foreach ($s3->getIterator('ListBuckets') as $bucket) { $buckets[] = $bucket['Name']; } var_dump($buckets);

The Versions

21/09 2015

dev-master

9999999-dev http://aws.amazon.com/sdkforphp2

A simple Phalcon service provider for including the AWS SDK for PHP.

  Sources   Download

Apache-2.0

The Requires

 

amazon s3 aws sdk phalcon dynamodb ec2

21/09 2015

dev-bugfix-1

dev-bugfix-1 http://aws.amazon.com/sdkforphp2

A simple Phalcon service provider for including the AWS SDK for PHP.

  Sources   Download

Apache-2.0

The Requires

 

amazon s3 aws sdk phalcon dynamodb ec2

21/09 2015

0.1.1

0.1.1.0 http://aws.amazon.com/sdkforphp2

A simple Phalcon service provider for including the AWS SDK for PHP.

  Sources   Download

Apache-2.0

The Requires

 

amazon s3 aws sdk phalcon dynamodb ec2

12/08 2013

0.1.0

0.1.0.0 http://aws.amazon.com/sdkforphp2

A simple Phalcon service provider for including the AWS SDK for PHP.

  Sources   Download

Apache-2.0

The Requires

 

amazon s3 aws sdk phalcon dynamodb ec2