PHPackages                             artox-lab/aws-sdk-php-symfony - 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. [API Development](/categories/api)
4. /
5. artox-lab/aws-sdk-php-symfony

ActiveSymfony-bundle[API Development](/categories/api)

artox-lab/aws-sdk-php-symfony
=============================

A Symfony bundle for v3 of the AWS SDK for PHP

v2.5.0(3y ago)011Apache-2.0PHPPHP &gt;=5.5

Since Nov 1Pushed 3y agoCompare

[ Source](https://github.com/artox-lab/aws-sdk-php-symfony)[ Packagist](https://packagist.org/packages/artox-lab/aws-sdk-php-symfony)[ RSS](/packages/artox-lab-aws-sdk-php-symfony/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

AWS Service Provider for Symfony
================================

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

[![@awsforphp on Twitter](https://camo.githubusercontent.com/c17b2c5b53b824f61a1500d2c0f70eb94ad3d85ab13798c417e499e700878b93/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d253430617773666f727068702d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/awsforphp)[![Build Status](https://camo.githubusercontent.com/813f876f29afe1fe24d2ecc1a0888723319b2e52504546cea90a6ada2b636ca3/68747470733a2f2f7472617669732d63692e6f72672f6177732f6177732d73646b2d7068702d73796d666f6e792e737667)](https://travis-ci.org/aws/aws-sdk-php-symfony)[![Latest Stable Version](https://camo.githubusercontent.com/3eb00a9d4e70c86bf6563eeb86c0f5d53a512850b79b93c8e46836edf3c05d9e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6177732f6177732d73646b2d7068702d73796d666f6e792e737667)](https://packagist.org/packages/aws/aws-sdk-php-symfony)[![Total Downloads](https://camo.githubusercontent.com/ab256da2a2c17505c79b91a8acb64413077f0358e2475e8643cb78a240837716/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6177732f6177732d73646b2d7068702d73796d666f6e792e737667)](https://packagist.org/packages/aws/aws-sdk-php-symfony)

A Symfony bundle for including the [AWS SDK for PHP](https://github.com/aws/aws-sdk-php).

Jump To:

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

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

[](#getting-started)

### Installation

[](#installation)

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

```
{
    "require": {
        "aws/aws-sdk-php-symfony": "~2.0"
    }
}
```

and adding an instance of `Aws\Symfony\AwsBundle` to your application's kernel:

```
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        return [
            ...
            new \Aws\Symfony\AwsBundle(),
        ];
    }
    ...
}
```

### Configuration

[](#configuration)

By default, configuration is handled by the SDK rather than by the bundle, and no validation is performed at compile time. Full documentation of the configuration options available can be read in the [SDK Guide](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html).

If AWS\_MERGE\_CONFIG environment variable is set to `true`, configuration validation and merging are enabled. The bundle validates and merges known configuration options, including for each service. Additional configuration options can be included in a single configuration file, but merging will fail if non-standard options are specified in more than once.

To use a service for any configuration value, use `@` followed by the service name, such as `@a_service`. This syntax will be converted to a service during container compilation. If you want to use a string literal that begins with `@`, you will need to escape it by adding another `@` sign.

When using the SDK from an EC2 instance, you can write `credentials: ~` to use [instance profile credentials](https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials.html#instance-profile-credentials). This syntax means that temporary credentials will be automatically retrieved from the EC2 instance's metadata server. It's also the preferred technique for providing credentials to applications running on that specific context.

Sample configuration can be found in the `tests/fixtures` folder for [YAML](https://github.com/aws/aws-sdk-php-symfony/blob/master/tests/fixtures/config.yml), [PHP](https://github.com/aws/aws-sdk-php-symfony/blob/master/tests/fixtures/config.php), and [XML](https://github.com/aws/aws-sdk-php-symfony/blob/master/tests/fixtures/config.xml).

#### Sample YML Configuration

[](#sample-yml-configuration)

The sample configuration which can be placed in `app/config/config.yml` file.

```
framework:
    secret: "Rosebud was the name of his sled."

aws:
    version: latest
    region: us-east-1
    credentials:
        key: not-a-real-key
        secret: "@@not-a-real-secret" # this will be escaped as '@not-a-real-secret'
    DynamoDb:
        region: us-west-2
    S3:
        version: '2006-03-01'
    Sqs:
        credentials: "@a_service"
    CloudSearchDomain:
        endpoint: https://search-with-some-subdomain.us-east-1.cloudsearch.amazonaws.com

services:
    a_service:
        class: Aws\Credentials\Credentials
        arguments:
            - a-different-fake-key
            - a-different-fake-secret
```

### Usage

[](#usage)

This bundle exposes an instance of the `Aws\Sdk` object as well as instances of each AWS client object as services to your symfony application. They are name `aws.{$namespace}`, where `$namespace` is the namespace of the service client. For instance:

ServiceInstance Ofaws.dynamodbAws\\DynamoDb\\DynamoDbClientaws.ec2Aws\\Ec2\\Ec2Clientaws.s3Aws\\S3\\S3Clientaws\_sdkAws\\SdkThe services made available depends on which version of the SDK is installed. To view a full list, run the following command from your application's root directory:

```
php bin/console debug:container aws

```

Full documentation on each of the services listed can be found in the [SDK API docs](http://docs.aws.amazon.com/aws-sdk-php/v3/api/).

Getting Help
------------

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

- Ask a question on [StackOverflow](https://stackoverflow.com/) and tag it with [`aws-php-sdk`](http://stackoverflow.com/questions/tagged/aws-php-sdk)
- Come join the AWS SDK for PHP [gitter](https://gitter.im/aws/aws-sdk-php)
- Open a support ticket with [AWS Support](https://console.aws.amazon.com/support/home/)
- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-php-symfony/issues/new/choose)

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](https://forums.aws.amazon.com/).

### Opening Issues

[](#opening-issues)

If you encounter a bug with `aws-sdk-php-symfony` 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-symfony`, PHP version and OS you’re using. Please include a stack trace and reduced repro case when appropriate, too.

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.

Contributing
------------

[](#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](./CONTRIBUTING.md) before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution.

Resources
---------

[](#resources)

- [AWS SDK for PHP on Github](http://github.com/aws/aws-sdk-php)
- [AWS SDK for PHP website](http://aws.amazon.com/sdkforphp/)
- [AWS on Packagist](https://packagist.org/packages/aws)
- [License](http://aws.amazon.com/apache2.0/)
- [Symfony website](http://symfony.com/)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1285d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2917d50ac1c30b2263e471b4ae4422080ef5a864087dc0455a88b4e387dad5b7?d=identicon)[steepdevs](/maintainers/steepdevs)

---

Top Contributors

[![jeskew](https://avatars.githubusercontent.com/u/705500?v=4)](https://github.com/jeskew "jeskew (42 commits)")[![holorhythms](https://avatars.githubusercontent.com/u/38118252?v=4)](https://github.com/holorhythms "holorhythms (19 commits)")[![SamRemis](https://avatars.githubusercontent.com/u/5881835?v=4)](https://github.com/SamRemis "SamRemis (7 commits)")[![kstich](https://avatars.githubusercontent.com/u/26905335?v=4)](https://github.com/kstich "kstich (6 commits)")[![diehlaws](https://avatars.githubusercontent.com/u/40442261?v=4)](https://github.com/diehlaws "diehlaws (4 commits)")[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (2 commits)")[![stobrien89](https://avatars.githubusercontent.com/u/60306702?v=4)](https://github.com/stobrien89 "stobrien89 (2 commits)")[![eXtreme](https://avatars.githubusercontent.com/u/197671?v=4)](https://github.com/eXtreme "eXtreme (1 commits)")[![hyandell](https://avatars.githubusercontent.com/u/477715?v=4)](https://github.com/hyandell "hyandell (1 commits)")[![iquito](https://avatars.githubusercontent.com/u/973653?v=4)](https://github.com/iquito "iquito (1 commits)")[![joksnet](https://avatars.githubusercontent.com/u/145141?v=4)](https://github.com/joksnet "joksnet (1 commits)")[![kellertk](https://avatars.githubusercontent.com/u/1083460?v=4)](https://github.com/kellertk "kellertk (1 commits)")[![kerihenare](https://avatars.githubusercontent.com/u/181816?v=4)](https://github.com/kerihenare "kerihenare (1 commits)")[![Khez](https://avatars.githubusercontent.com/u/960736?v=4)](https://github.com/Khez "Khez (1 commits)")[![mpdude](https://avatars.githubusercontent.com/u/1202333?v=4)](https://github.com/mpdude "mpdude (1 commits)")[![Orkin](https://avatars.githubusercontent.com/u/1061903?v=4)](https://github.com/Orkin "Orkin (1 commits)")[![piotrpasich](https://avatars.githubusercontent.com/u/1180426?v=4)](https://github.com/piotrpasich "piotrpasich (1 commits)")[![pzorn](https://avatars.githubusercontent.com/u/159690?v=4)](https://github.com/pzorn "pzorn (1 commits)")[![schodemeiss](https://avatars.githubusercontent.com/u/619116?v=4)](https://github.com/schodemeiss "schodemeiss (1 commits)")[![SomayaB](https://avatars.githubusercontent.com/u/23043132?v=4)](https://github.com/SomayaB "SomayaB (1 commits)")

---

Tags

symfonyamazonsdkawsSymfony2symfony3

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/artox-lab-aws-sdk-php-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/artox-lab-aws-sdk-php-symfony/health.svg)](https://phpackages.com/packages/artox-lab-aws-sdk-php-symfony)
```

###  Alternatives

[aws/aws-sdk-php-symfony

A Symfony bundle for v3 of the AWS SDK for PHP

36517.7M22](/packages/aws-aws-sdk-php-symfony)[kreait/firebase-bundle

Symfony Bundle for the Firebase Admin SDK

1534.7M2](/packages/kreait-firebase-bundle)[openai-php/symfony

Symfony Bundle for OpenAI

215715.5k3](/packages/openai-php-symfony)[async-aws/async-aws-bundle

Configure all your AsyncAws services and enjoy the autowire greatness.

243.6M2](/packages/async-aws-async-aws-bundle)[async-aws/lambda

Lambda client, part of the AWS SDK provided by AsyncAws.

194.5M10](/packages/async-aws-lambda)[google-gemini-php/symfony

Symfony Bundle for Gemini

149.4k1](/packages/google-gemini-php-symfony)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
