2017 © Pedro PelĂĄez
 

library aws-sdk-php-silex

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

image

aws/aws-sdk-php-silex

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

  • Friday, August 19, 2016
  • by jeremeamia
  • Repository
  • 44 Watchers
  • 81 Stars
  • 230,911 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 21 Forks
  • 0 Open issues
  • 12 Versions
  • 4 % Grown

The README.md

AWS Service Provider for Silex

@awsforphp on Twitter Build Status Latest Stable Version Total Downloads, (*1)

A simple Silex 2 / Pimple 3 service provider for including the AWS SDK for PHP., (*2)

note: If you are using the 1.x Silex version, Use [version 2.x] (https://github.com/aws/aws-sdk-php-silex/tree/2.0) of this provider., (*3)

Jump To: * Getting Started * Getting Help * Contributing * More Resources, (*4)

Getting Started

Installation

The AWS Service Provider can be installed via Composer by requiring the aws/aws-sdk-php-silex package in your project's composer.json., (*5)

{
    "require": {
        "aws/aws-sdk-php-silex": "~3.0"
    }
}

Usage

Register the AWS Service Provider in your Silex application and provide your AWS SDK for PHP configuration to the app in the aws.config key. $app['aws.config'] should contain an array of configuration options or the path to a configuration file. This value is passed directly into new Aws\Sdk., (*6)

<?php

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

use Aws\Silex\AwsServiceProvider;
use Silex\Application;

$app = new Application();

$app->register(new AwsServiceProvider(), array(
    'aws.config' => array(
        'version' => 'latest',
        'region' => 'us-east-1',
    )
));
// Note: You can also specify a path to a config file
// (e.g., 'aws.config' => '/path/to/aws/config/file.php')

$app->match('/', function () use ($app) {
    // Get the Amazon S3 client
    $s3 = $app['aws']->createS3();

    // Create a list of the buckets in your account
    $output = "<ul>\n";
    foreach ($s3->getListBucketsIterator() as $bucket) {
        $output .= "<li>{$bucket['Name']}</li>\n";
    }
    $output .= "</ul>\n";

    return $output;
});

$app->run();

Getting Help

Please use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them., (*7)

This SDK implements AWS service APIs. For general issues regarding the AWS services and their limitations, you may also take a look at the Amazon Web Services Discussion Forums., (*8)

Opening Issues

If you encounter a bug with aws-sdk-php-silex we would like to hear about it. Search the existing issues and try to make sure your problem doesn’t already exist before opening a new issue. It’s helpful if you include the version of aws-sdk-php-silex, PHP version and OS you’re using. Please include a stack trace and reduced repro case when appropriate, too., (*9)

The GitHub issues are intended for bug reports and feature requests. For help and questions with using aws-sdk-php please make use of the resources listed in the Getting Help section. There are limited resources available for handling issues and by keeping the list of open issues lean we can respond in a timely manner., (*10)

Contributing

We work hard to provide a high-quality and useful SDK for our AWS services, and we greatly value feedback and contributions from our community. Please review our contributing guidelines before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution., (*11)

Resources

The Versions

19/08 2016

2.0.x-dev

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

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

silex amazon s3 aws sdk dynamodb ec2

19/08 2016

2.1.0

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

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

silex amazon s3 aws sdk dynamodb ec2

25/05 2016

dev-master

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

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

silex amazon s3 aws sdk dynamodb ec2

25/05 2016

dev-feature/support-silex-2

dev-feature/support-silex-2 http://aws.amazon.com/sdkforphp2

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

silex amazon s3 aws sdk dynamodb ec2

25/05 2016

3.0.0

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

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

silex amazon s3 aws sdk dynamodb ec2

06/08 2015

2.0.2

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

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

silex amazon s3 aws sdk dynamodb ec2

13/06 2015

2.0.1

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

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

silex amazon s3 aws sdk dynamodb ec2

12/06 2015

2.0.0

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

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

silex amazon s3 aws sdk dynamodb ec2

12/11 2013

1.1.x-dev

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

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

  Sources   Download

Apache-2.0

The Requires

 

silex amazon s3 aws sdk dynamodb ec2

12/11 2013

1.1.0

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

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

  Sources   Download

Apache-2.0

The Requires

 

silex amazon s3 aws sdk dynamodb ec2

13/02 2013

1.0.1

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

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

  Sources   Download

Apache-2.0

The Requires

 

silex amazon s3 aws sdk dynamodb ec2

29/01 2013

1.0.0

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

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

  Sources   Download

Apache-2.0

The Requires

 

silex amazon s3 aws sdk dynamodb ec2