PHPackages                             beyerz/aws-queue-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. [Queues &amp; Workers](/categories/queues)
4. /
5. beyerz/aws-queue-bundle

ActiveSymfony-bundle[Queues &amp; Workers](/categories/queues)

beyerz/aws-queue-bundle
=======================

Symfony bundle to connect AWS sns and sqs to create offline queue processing

v1.0.8(7y ago)21.1k2PHPPHP &gt;=7.0

Since Jul 30Pushed 7y ago1 watchersCompare

[ Source](https://github.com/beyerz/AwsQueueBundle)[ Packagist](https://packagist.org/packages/beyerz/aws-queue-bundle)[ RSS](/packages/beyerz-aws-queue-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (9)Dependencies (5)Versions (10)Used By (0)

AWS Queue Bundle
================

[](#aws-queue-bundle)

[![PHP from Packagist](https://camo.githubusercontent.com/d1bcc41b34f5371f1b9e912e9b9e5601d366f34f4d4cb3800cc680c5dfcffba8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f62657965727a2f6177732d71756575652d62756e646c652e7376673f7374796c653d666c61742d73717561726526636f6c6f72423d383839324246)](https://www.php.net/)[![Latest Stable Version](https://camo.githubusercontent.com/d98ec9e7c27156226eeb0717c6ec463d673e594239fd045e5f4411200d0ad213/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62657965727a2f6177732d71756575652d62756e646c652e7376673f636f6c6f72423d6f72616e6765267374796c653d666c61742d737175617265)](https://packagist.org/packages/beyerz/aws-queue-bundle)[![Downloads from Packagist](https://camo.githubusercontent.com/e38b107d10bee41dc74cfa21a48f1e0f57fa31c71132c76103806bd3363851ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62657965727a2f6177732d71756575652d62756e646c652e7376673f7374796c653d666c61742d73717561726526636f6c6f72423d726564)](https://packagist.org/packages/beyerz/aws-queue-bundle)[![Build Status](https://camo.githubusercontent.com/426efac36eeece167c1317b195f556c6569c3d917505f62196da2274feffd168/68747470733a2f2f7472617669732d63692e6f72672f62657965727a2f417773517565756542756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/beyerz/AwsQueueBundle)[![codecov](https://camo.githubusercontent.com/ea66a2093e95570835c892167298b63652f0573ca4ce8251e37cec86e49dac79/68747470733a2f2f636f6465636f762e696f2f67682f62657965727a2f417773517565756542756e646c652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/beyerz/AwsQueueBundle)

About
-----

[](#about)

AWS Queue Bundle for Symfony2

The purpose of this bundle is to provide an easy integration between symfony services and AWS services. Queues are defined by **Producers** and **Consumers**

By using this bundle, together with aws bundle, the **Consumer** and **Producer** services that you define will automatically setup the AWS services on demand. This eases the requirement of setting up your queue and notification services through the AWS platform.

Installation
============

[](#installation)

### Composer (Recommended)

[](#composer-recommended)

```
    composer require beyerz/aws-queue-bundle
```

### Application Kernel

[](#application-kernel)

Add BeyerzAWSQueueBundle to the `registerBundles()` method of your application kernel:

```
public function registerBundles()
{
    return array(
        new Beyerz\AWSQueueBundle\BeyerzAWSQueueBundle(),
    );
}
```

Usage
=====

[](#usage)

Config
------

[](#config)

config.yml

```
beyerz_aws_queue:
  region: #Your AWS region that you want to use
  account: #Your AWS Account ID
  channel_prefix: "%kernel.environment%" #used to separate dev/stage/prod (mainly to make development eaiser)
  run_local: false #This option should allow you to run remotely using aws, or locally using no-queue or gearman
```

Important config note:
----------------------

[](#important-config-note)

Due to the way that Aws has defined the working tree, the aws-queue-bundle cannot automatically append your configs.
The result of this is that you will need to define the aws configuration yourself.

Documentation
-------------

[](#documentation)

### Creating a Producer

[](#creating-a-producer)

Creating a producer that can be used in your system is really simple, here is some sample code to get you started You can also look at the demo folder in this bundle *AcmeBundle/Producers/MyAwesomeProducer.php*

```
