PHPackages                             m6web/aws-bundle - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. m6web/aws-bundle

Abandoned → [aws/aws-sdk-php-symfony](/?search=aws%2Faws-sdk-php-symfony)ArchivedLibrary[HTTP &amp; Networking](/categories/http)

m6web/aws-bundle
================

Bundle Client AWS

v2.0.2(9y ago)361.5k1PHPPHP &gt;=5.4

Since Apr 24Pushed 9y ago30 watchersCompare

[ Source](https://github.com/BedrockStreaming/AwsBundle)[ Packagist](https://packagist.org/packages/m6web/aws-bundle)[ RSS](/packages/m6web-aws-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (4)Dependencies (5)Versions (21)Used By (0)

AWS-BUNDLE [![Build Status](https://camo.githubusercontent.com/1cd82ea72671e10e3027b8a09f132411cb89bee7af2e09c3a14e8e2ee0182d4e/68747470733a2f2f7472617669732d63692e6f72672f4d365765622f41777342756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/M6Web/AwsBundle)
=======================================================================================================================================================================================================================================================================================

[](#aws-bundle-)

#### Aws client as a Symfony Service

[](#aws-client-as-a-symfony-service)

⚠ This bundle is deprecated
===========================

[](#-this-bundle-is-deprecated)

Please use the official [AWS Symfony bundle](https://github.com/aws/aws-sdk-php-symfony) instead.

### configure your AWS user credentials and services

[](#configure-your-aws-user-credentials-and-services)

**Reference guide of AWS configuration services**. See [AWS Configuration reference](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html)

- `m6_web_aws`:
    - `credentials`: # List of AWS user credentials

        - `default`: Name of AWS user
            - `key`: "azerty" \[optional\] Your AWS user's access key ID. See [AWS access keys](http://aws.amazon.com/fr/developers/access-keys/)
            - `secret`: "1337" \[optional\] Your AWS user's secret access key. See [AWS access keys](http://aws.amazon.com/fr/developers/access-keys/)
            - `region`: "us-west-2" \[optional\] Region name (e.g., 'us-east-1', 'us-west-1', 'us-west-2', 'eu-west-1', etc.)
            - `scheme`: \[optional\] URI Scheme of the base URL (e.g.. 'https', 'http') used when base\_url is not supplied.
            - `base_url`: \[optional\] Allows you to specify a custom endpoint instead of having the SDK build one automatically from the region and scheme.
            - `signature`: \[optional\]
            - `signature_service`: \[optional\] Alias of signature.service. The signature service scope for Signature V4. See [Setting a custom endpoint](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#custom-endpoint)
            - `signature_region`: \[optional\] Alias of signature.region. The signature region scope for Signature V4. See [Setting a custom endpoint](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#custom-endpoint)
            - `curl_options`: \[optional\] Alias of curl.options
            - `request_options`: \[optional\] Alias of request.options
            - `command_params`: \[optional\] Alias of command.params
        - `ops`: # Another AWS user
            - `key`: ...
            - `secret`:
            - `region`:
    - `clients`:

        - `6cloud_cdn`:
            - `credential`: "default" \[optional\] AWS user name
            - `service`: "S3" \[required\] AWS service Alias (see below)
            - `region`: "us-west-1" \[optional\] Override region name.
    - `s3`:

        - `buckets`:
            - `dev`: Name of the bucket (use to define service name)
                - `name`: "s3-bucket-name" Real name of the bucket
                - `client`: "6cloud\_cdn" Client name defined above
    - `sqs`:

        - `dev`: Name of the sqs config (use to define service name)
            - `client`: "sqs\_client" Client name defined above
    - `sts`:

        - `dev`: Name of the sts config (use to define service name)
            - `client`: "sts\_client" Client name defined above
    - `dynamodb`:

        - `dev`: Name of the client
            - `client`: "6cloud\_cdn" Client name defined above

### Aliases for AWS Services :

[](#aliases-for-aws-services-)

**(case sensitive)**

- AutoScaling
- CloudFormation
- CloudFront
- cloudfront (version : 2012-05-05)
- CloudSearch
- cloudsearch (version : 2011-02-01)
- CloudTrail
- CloudWatch
- DataPipeline
- DirectConnect
- DynamoDb
- dynamodb (version: 2011-12-05)
- Ec2
- ElastiCache
- ElasticBeanstalk
- ElasticLoadBalancing
- ElasticTranscoder
- Emr
- Glacier
- Kinesis
- Iam
- ImportExport
- OpsWorks
- Rds
- Redshift
- Route53
- S3
- SimpleDb
- Ses
- Sns
- Sqs
- StorageGateway
- Sts
- Support
- Swf

SQS Example
===========

[](#sqs-example)

```
    $client = $this->getContainer()->get('m6web_aws.sqs.workers');
    $queue = $client->getQueue('queue_test');

    for ($i=0; $isendMessage($queue, "hello world $i") . "\n";
    }

    $i = 0;
    while($messages = $client->receiveMessage($queue, 10)) {
        foreach($messages as $message) {
            echo $message['Body'] . "... ";
            if ($client->deleteMessage($queue, $message['ReceiptHandle'])) {
                echo "OK\n";
                $i++;
            } else echo "ERROR\n";
        }
    }

    echo"\n===> READ : $i\n";

```

STS Example
===========

[](#sts-example)

```
    $client = $this->getContainer()->get('m6web_aws.sts.m6');

    $sessionToken = $client->getSessionToken();
    $credentials  = $client->createCredentials($sessionToken);

    echo "Key : " . $credentials->getSecretKey() . "\n";
    echo "Token : " . $credentials->getSecurityToken() . "\n";

```

### DataCollector

[](#datacollector)

DataCollector is enabled by defaut.

To disable :

```
m6_web_aws:
    disable_data_collector: true

```

Unit tests :
============

[](#unit-tests-)

```
    composer install
    ./bin/atoum

```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

Every ~56 days

Recently: every ~241 days

Total

20

Last Release

3324d ago

Major Versions

v1.3.2 → v2.0.02016-10-03

PHP version history (2 changes)v1.0.0PHP &gt;=5.4

v1.0.1PHP &gt;=5.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2069361?v=4)[Patrick](/maintainers/Bedrock)[@Bedrock](https://github.com/Bedrock)

![](https://www.gravatar.com/avatar/4f041a1974dbc19c70e199fb278d9b9026409999444087c7efbd1cb249a49f3a?d=identicon)[omansour](/maintainers/omansour)

---

Top Contributors

[![omansour](https://avatars.githubusercontent.com/u/1131098?v=4)](https://github.com/omansour "omansour (9 commits)")[![mikaelrandy](https://avatars.githubusercontent.com/u/187703?v=4)](https://github.com/mikaelrandy "mikaelrandy (7 commits)")[![lucascourot](https://avatars.githubusercontent.com/u/938375?v=4)](https://github.com/lucascourot "lucascourot (3 commits)")[![SylvG](https://avatars.githubusercontent.com/u/4772012?v=4)](https://github.com/SylvG "SylvG (2 commits)")[![fabdsp](https://avatars.githubusercontent.com/u/5878620?v=4)](https://github.com/fabdsp "fabdsp (2 commits)")[![lnahiro](https://avatars.githubusercontent.com/u/14995154?v=4)](https://github.com/lnahiro "lnahiro (2 commits)")[![dipston](https://avatars.githubusercontent.com/u/4101731?v=4)](https://github.com/dipston "dipston (1 commits)")[![adriensamson](https://avatars.githubusercontent.com/u/520234?v=4)](https://github.com/adriensamson "adriensamson (1 commits)")

### Embed Badge

![Health badge](/badges/m6web-aws-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/m6web-aws-bundle/health.svg)](https://phpackages.com/packages/m6web-aws-bundle)
```

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[friendsofsymfony/http-cache-bundle

Set path based HTTP cache headers and send invalidation requests to your HTTP cache

43813.2M47](/packages/friendsofsymfony-http-cache-bundle)[handcraftedinthealps/rest-routing-bundle

This bundle provides automatic route registration for the Controllers

582.0M2](/packages/handcraftedinthealps-rest-routing-bundle)[georgeboot/laravel-echo-api-gateway

Use Laravel Echo with API Gateway Websockets

10435.5k](/packages/georgeboot-laravel-echo-api-gateway)

PHPackages © 2026

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