2017 © Pedro Peláez
 

symfony-bundle aws-bundle

Symfony bundle to provide a wrapper service around AWS S3

image

uam/aws-bundle

Symfony bundle to provide a wrapper service around AWS S3

  • Friday, October 27, 2017
  • by opichon
  • Repository
  • 1 Watchers
  • 2 Stars
  • 11,769 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 20 Versions
  • 1 % Grown

The README.md

UAMAwsBundle

The UAMAwsBundle exposes AWS clients as services for use in your Symfony 2 app., (*1)

Installation

Add the package to your project's composer.json:, (*2)

"require": {
    "uam/aws-bundle": "dev-master",
    …
}

Register this bundle in your app's kernel:, (*3)

# app/AppKernel.php

public function registerBundles()
{
    bundles = (
        // …
        new UAM\Bundle\AwsBundle\UAMAwsBundle(),
    );

    return bundles();
}

Configuration

The UAMAwsBundle can be configured in 2 ways: either by providing a path to a AWS configuration file or by setting the configuration parameters in your app's configuration., (*4)

Direct configuration

Define the following settings in your app's configuration:, (*5)

# app/config/config.php
uam_aws:
    config:
        key:    YOUR AWS ACCESS KEY
        secret: YOUR AWS SECRET KEY
        region: DEFAULT REGION

Via AWS configuration file

You can also simply have your app's configuration file point to a AWS configuration file in a location of your choice. This configuration file must be in the format required by the AWS SDK's Aws::factory() method., (*6)

# app/config/config.php
uam_aws:
    config_path: /path/to/aws/config/file

Usage

Currently this bundle defines 2 services that provide clients for the AWS S3 and SQS services., (*7)

You can obtain this service from a container in the standard way, e.g. in a Controller:, (*8)

# MyBundle/Controller/MyController.php

public function someAction()
{
    $s3 = $this->container->get('uam_aws.s3');

    $sqs = $this->container->get('uam_aws.sqs');

    // ...
}

The uam_aws.s3 service is an instance of Aws\S3\S3Client. See the AWS SDK documentation for usage of the S3Client., (*9)

The uam_aws.sqs service is an instance of Aws\Sqs\SqsClient. See the AWS SDK documentation for usage of the SQsClient., (*10)

The Versions

27/10 2017

dev-master

9999999-dev http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

27/10 2017

0.5.1

0.5.1.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

19/10 2017

0.5.0

0.5.0.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

15/09 2015

0.4.3

0.4.3.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

12/12 2014

0.4.2

0.4.2.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

05/02 2014

0.4.1

0.4.1.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

09/12 2013

0.4.0

0.4.0.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

09/12 2013

0.3.3

0.3.3.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

09/12 2013

0.3.2

0.3.2.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

09/12 2013

0.3.1

0.3.1.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

04/11 2013

0.2.4

0.2.4.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

04/11 2013

0.3.0

0.3.0.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

23/06 2013

0.2.3

0.2.3.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

07/06 2013

0.2.2

0.2.2.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

30/05 2013

0.2.1

0.2.1.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

19/05 2013

0.1.x-dev

0.1.9999999.9999999-dev http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

19/05 2013

0.1.3

0.1.3.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

19/05 2013

0.1.2

0.1.2.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

23/03 2013

0.1.1

0.1.1.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws

23/03 2013

0.1.0

0.1.0.0 http://gitweb.united-asian.com

Symfony bundle to provide a wrapper service around AWS S3

  Sources   Download

MIT

The Requires

 

by Olivier Pichon

bundle cloud symfony s3 aws