PHPackages                             mcfedr/sqs-queue-driver-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. mcfedr/sqs-queue-driver-bundle

Abandoned → [mcfedr/queue-manager-bundle](/?search=mcfedr%2Fqueue-manager-bundle)Symfony-bundle[Queues &amp; Workers](/categories/queues)

mcfedr/sqs-queue-driver-bundle
==============================

A bundle for running symfony background tasks with SQS as the engine

3.5.0(7y ago)445.2k4[1 issues](https://github.com/mcfedr/sqs-queue-driver-bundle/issues)1MITPHPPHP &gt;=5.5

Since Jul 28Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (7)Versions (26)Used By (1)

Sqs Queue Driver Bundle
=======================

[](#sqs-queue-driver-bundle)

A driver for [Queue Manager Bundle](https://github.com/mcfedr/queue-manager-bundle) that uses [Amazon SQS](https://aws.amazon.com/sqs/)

[![Latest Stable Version](https://camo.githubusercontent.com/93af0741740f90ce5f89861fcb9bfbd69c5a2d01f81d592ffba061289d49387c/68747470733a2f2f706f7365722e707567782e6f72672f6d63666564722f7371732d71756575652d6472697665722d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/mcfedr/sqs-queue-driver-bundle)[![License](https://camo.githubusercontent.com/c29b9194388511a878f36be289fd1541037d1dbf21115a18b3e8d9a0ea3dd0fb/68747470733a2f2f706f7365722e707567782e6f72672f6d63666564722f7371732d71756575652d6472697665722d62756e646c652f6c6963656e73652e706e67)](https://packagist.org/packages/mcfedr/sqs-queue-driver-bundle)[![Build Status](https://camo.githubusercontent.com/cffff7260e70aba6df37ac547539435d97082de3bacf3af780840ae95dc2b4e8/68747470733a2f2f7472617669732d63692e6f72672f6d63666564722f7371732d71756575652d6472697665722d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mcfedr/sqs-queue-driver-bundle)

Usage
-----

[](#usage)

The sqs runner is a Symfony command. You can runner multiple instances if you need to handle higher numbers of jobs.

```
./bin/console mcfedr:queue:{name}-runner
```

Where `{name}` is what you used in the config. Add `-v` or more to get detailed logs.

Install
-------

[](#install)

### Composer

[](#composer)

```
composer require mcfedr/sqs-queue-driver-bundle

```

### AppKernel

[](#appkernel)

Include the bundle in your AppKernel

```
public function registerBundles()
{
    $bundles = [
        ...
        new Mcfedr\QueueManagerBundle\McfedrQueueManagerBundle(),
        new Mcfedr\SqsQueueDriverBundle\McfedrSqsQueueDriverBundle(),

```

Config
------

[](#config)

With this bundle installed you can setup your queue manager config similar to this:

```
mcfedr_queue_manager:
    managers:
        default:
            driver: sqs
            options:
                default_url: https://sqs.eu-west-1.amazonaws.com/...
                region: eu-west-1
                credentials:
                    key: 'my-access-key-id'
                    secret: 'my-secret-access-key'
                queues:
                    name: https://sqs.eu-west-1.amazonaws.com/...
                    name2: https://sqs.eu-west-1.amazonaws.com/...

```

This will create a `QueueManager` service named `"mcfedr_queue_manager.default"`

- `default_url` - Default SQS queue url
- `region` **required** - The region where your queue is
- `credentials` *optional* - [Specify your key and secret](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/credentials.html#using-hard-coded-credentials)This is optional because the SDK can pick up your credentials from a [variety of places](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/credentials.html)
- `queues` *optional* - Allows you to setup a mapping of short names for queues, this makes it easier to use multiple queues and keep the config in one place

Options to `QueueManager::put`
------------------------------

[](#options-to-queuemanagerput)

- `url` - A `string` with the url of a queue
- `queue` - A `string` with the name of a queue in the config
- `time` - A `\DateTime` object of when to schedule this job. **Note:** SQS can delay jobs up to 15 minutes
- `delay` - Number of seconds from now to schedule this job. **Note:** SQS can delay jobs up to 15 minutes
- `visibilityTimeout` - Number of seconds during which Amazon SQS prevents other consumers from receiving and processing the message.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 88.1% of commits — single point of failure

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 ~30 days

Recently: every ~44 days

Total

25

Last Release

2857d ago

Major Versions

1.1.4 → 2.0.02016-07-29

2.0.2 → 3.0.02016-08-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/7039999f29a83140d61116032ec1684c752412e458ad1999e15eea2f8808498c?d=identicon)[mcfedr](/maintainers/mcfedr)

---

Top Contributors

[![mcfedr](https://avatars.githubusercontent.com/u/704356?v=4)](https://github.com/mcfedr "mcfedr (37 commits)")[![nonanerz](https://avatars.githubusercontent.com/u/19575167?v=4)](https://github.com/nonanerz "nonanerz (4 commits)")[![phillipsnick](https://avatars.githubusercontent.com/u/2021654?v=4)](https://github.com/phillipsnick "phillipsnick (1 commits)")

---

Tags

jobssqssymfonyawsqueuejobschedulesqstask

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/mcfedr-sqs-queue-driver-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mcfedr-sqs-queue-driver-bundle/health.svg)](https://phpackages.com/packages/mcfedr-sqs-queue-driver-bundle)
```

###  Alternatives

[shiftonelabs/laravel-sqs-fifo-queue

Adds a Laravel queue driver for Amazon SQS FIFO queues.

1556.0M3](/packages/shiftonelabs-laravel-sqs-fifo-queue)[enqueue/sqs

Message Queue Amazon SQS Transport

376.3M14](/packages/enqueue-sqs)[mcfedr/queue-manager-bundle

A bundle for managing job queues

1094.3k7](/packages/mcfedr-queue-manager-bundle)[tarantool/queue

PHP bindings for Tarantool Queue.

64136.2k4](/packages/tarantool-queue)[joblocal/laravel-sqs-sns-subscription-queue

A simple Laravel service provider which adds a new queue connector to handle SNS subscription queues.

48416.3k](/packages/joblocal-laravel-sqs-sns-subscription-queue)[maqe/laravel-sqs-fifo

Laravel package that enables support for SQS FIFO Queue

15137.2k](/packages/maqe-laravel-sqs-fifo)

PHPackages © 2026

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