2017 © Pedro Peláez
 

library silex-aws-provider

AWS service provider for the Silex framework.

image

ebichan/silex-aws-provider

AWS service provider for the Silex framework.

  • Monday, April 27, 2015
  • by Ebichan
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

silex-aws-provider

AWS service provider for the Silex framework., (*1)

Install via composer

Add in your composer.json the require entry for this library., (*2)

{
    "require": {
        "ebichan/silex-aws-provider": "dev-master"
    }
}

and run composer install (or update) to download all files., (*3)

Usage

Service registration

$app->register(new AmqpServiceProvider, array(
    'aws.connections' => array(
        'default' => array(
            'key'    => '',
            'secret' => '',
            'region' => 'us-east-1'
        )
    ),
));

Connections retrieving

$connections = $app['aws'];
$defaultConnection = $connections['default']; 

Creating aws connection via factory

$awsFactory = $app['aws.factory'];
$customConnection = $awsFactory('', '', 'us-east-1');

The Versions

27/04 2015

dev-master

9999999-dev https://github.com/jonathan-sousa/silex-aws-provider

AWS service provider for the Silex framework.

  Sources   Download

MIT

The Requires

 

by Jonathan Sousa

silex aws