PHPackages                             aws/aws-sdk-php-silex - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. aws/aws-sdk-php-silex

ActiveLibrary[File &amp; Storage](/categories/file-storage)

aws/aws-sdk-php-silex
=====================

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

3.0.0(10y ago)84628.6k↓70%222Apache-2.0PHPPHP &gt;=5.5CI passing

Since Jan 29Pushed 7mo ago38 watchersCompare

[ Source](https://github.com/aws/aws-sdk-php-silex)[ Packagist](https://packagist.org/packages/aws/aws-sdk-php-silex)[ Docs](http://aws.amazon.com/sdkforphp2)[ RSS](/packages/aws-aws-sdk-php-silex/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (4)Versions (13)Used By (2)

AWS Service Provider for Silex
==============================

[](#aws-service-provider-for-silex)

[![@awsforphp on Twitter](https://camo.githubusercontent.com/c17b2c5b53b824f61a1500d2c0f70eb94ad3d85ab13798c417e499e700878b93/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d253430617773666f727068702d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/awsforphp)[![Build Status](https://camo.githubusercontent.com/520c7bb3d4c7129d336104a84dec96c71c40e75cea4b26eb2c46fa37318c2d4a/68747470733a2f2f7472617669732d63692e6f72672f6177732f6177732d73646b2d7068702d73696c65782e737667)](https://travis-ci.org/aws/aws-sdk-php-silex)[![Latest Stable Version](https://camo.githubusercontent.com/b14eb577915d5503fc5c1f04daeca4aeb6619ac440aa0a836be1e9061c679065/68747470733a2f2f706f7365722e707567782e6f72672f6177732f6177732d73646b2d7068702d73696c65782f762f737461626c652e706e67)](https://packagist.org/packages/aws/aws-sdk-php-silex)[![Total Downloads](https://camo.githubusercontent.com/2b36f4decf2b3047c7c83ef56474b36361387830473b5d57bfa5cc78774d33d8/68747470733a2f2f706f7365722e707567782e6f72672f6177732f6177732d73646b2d7068702d73696c65782f646f776e6c6f6164732e706e67)](https://packagist.org/packages/aws/aws-sdk-php-silex)

A simple Silex 2 / Pimple 3 service provider for including the [AWS SDK for PHP](https://github.com/aws/aws-sdk-php).

note: If you are using the 1.x Silex version, Use \[version 2.x\] () of this provider.

Jump To:

- [Getting Started](_#Getting-Started_)
- [Getting Help](_#Getting-Help_)
- [Contributing](_#Contributing_)
- [More Resources](_#Resources_)

Getting Started
---------------

[](#getting-started)

### Installation

[](#installation)

The AWS Service Provider can be installed via [Composer](http://getcomposer.org) by requiring the `aws/aws-sdk-php-silex` package in your project's `composer.json`.

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

### Usage

[](#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`.

```
