Developed with love by KnpLabs Hire us for your project!
33

aws-symfony2-bundle

by platinumpixs

Deprecated - AWS SDK 2 - Symfony 2 Bundle

This Package Is No Longer Being Updated - Please See the One Provided By Amazon AWS Directly

https://github.com/aws/aws-sdk-php-symfony

AWS SDK 2 - Symfony 2 Bundle

Build StatusLatest Stable Version Total Downloads Latest Unstable Version License

Provides a simple Symfony 2 Bundle to Wrap the AWS PHP SDK 2 - https://github.com/aws/aws-sdk-php

Installing via Composer

This will install Version 3 of the SDK.

{
    "require": {
        "platinumpixs/aws-symfony2-bundle": "dev-master"
    }
}

If you want to stay on older Version 2 of the SDK.

{
    "require": {
        "platinumpixs/aws-symfony2-bundle": "1.2.0"
    }
}

Using and Setting Up

autoload.php

$loader->registerNamespaces(
  'PlatinumPixs'                  => __DIR__ . '/../vendor/platinumpixs'
)

Kernel.php

public function registerBundles() {
  $bundles = array(
    new PlatinumPixs\Aws\PlatinumPixsAwsBundle()
  );
}

The code calls \Aws\Common\Aws::factory(), which setups the ability to call all the services provided by the library

There is a base class always setup under:

$this->get('platinum_pixs_aws.default');

This will call the factory method with blank config values

To provide custom setup for access, secret keys. Add a config options in your config.yml, like:

platinum_pixs_aws:
    base:
        region: us-east-1
        key: my-access-key
        secret: my-secret-key

Then to access this setup call:

$this->get('platinum_pixs_aws.base');
Copyright 2013 Platinum Pixs, LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
platinum_pixs_aws:

# Prototype
name: []
  • Update README.md
    By pzorn, 3 years ago
  • set sudo to false
    By pzorn, 4 years ago
  • removed 5.3, 5.4 and added 5.6
    By pzorn, 4 years ago
  • fixed another wording issue
    By pzorn, 4 years ago
  • updated to return the Aws\Sdk class - http://docs.aws.amazon.com/aws-sdk-php/v3/guide/getting-started/basic-usage.html#usage-summary
    By pzorn, 4 years ago
  • fixed misspell
    By pzorn, 4 years ago
  • Update README.md
    By pzorn, 4 years ago
  • Update composer.json
    By pzorn, 4 years ago
  • updated for symfony 2.7
    By pzorn, 4 years ago
  • Merge remote-tracking branch 'origin/master'
    By pzorn, 4 years ago
  • updated for symfony 2.7
    By pzorn, 4 years ago
  • Merge pull request #2 from eexit/master
    By pzorn, 5 years ago
  • Add service tagging + test
    By eexit, 5 years ago
  • added build status from travis
    By pzorn, 5 years ago
  • removed the suite loader class
    By pzorn, 5 years ago
  • updated to force travis build
    By pzorn, 5 years ago
  • added information from poser.pugx.org
    By pzorn, 5 years ago
  • added test to make sure that the key and secret key don't have to be included so the api will use the iam role and fixed the container name
    By pzorn, 5 years ago
  • added the resources and tests directory to the exclude list
    By pzorn, 5 years ago
  • updated to the latest version of phpunit 4.1
    By pzorn, 5 years ago
  • added travis file for ci
    By pzorn, 5 years ago
  • added vagrant
    By pzorn, 5 years ago
  • updated to support any 2 version of the aws sdk
    By pzorn, 6 years ago
  • fixed the yaml config key name
    By pzorn, 6 years ago
  • fixed the class name
    By pzorn, 6 years ago
  • Added instructions for on how to install and setup
    By pzorn, 6 years ago
  • updated to have a configuration class for the aws common class and pass that class into the definition class on construction
    By pzorn, 6 years ago
  • fixed the class names
    By pzorn, 6 years ago
  • refactor to be easier loading inside symfony app as bundle
    By pzorn, 6 years ago
  • initial commit of the symfony2 bundle including test
    By pzorn, 6 years ago