2017 © Pedro Peláez
 

library mongo-queue

Message queue using MongoDB as a backend

image

traderinteractive/mongo-queue

Message queue using MongoDB as a backend

  • Wednesday, March 7, 2018
  • by traderinteractive
  • Repository
  • 37 Watchers
  • 40 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 21 Forks
  • 4 Open issues
  • 9 Versions
  • 13 % Grown

The README.md

mongo-queue-php

Scrutinizer Code Quality, (*1)

Latest Stable Version Latest Unstable Version License, (*2)

Total Downloads Daily Downloads Monthly Downloads, (*3)

PHP message queue using MongoDB as a backend., (*4)

Features

  • Message selection and/or count via MongoDB query
  • Distributes across machines via MongoDB
  • Message priority
  • Delayed messages
  • Running message timeout and redeliver
  • Atomic acknowledge and send together
  • Easy index creation based only on payload

Simplest use

use TraderInteractive\Mongo\Queue;

$queue = new Queue('mongodb://localhost', 'queues', 'queue');
$queue->send(new Message());
$messages = $queue->get([], ['runningResetDuration' => 60]);
foreach ($messages as $message) {
    // Do something with message

    $queue->ack($message);
}

Composer

To add the library as a local, per-project dependency use Composer! Simply add a dependency on traderinteractive/mongo-queue to your project's composer.json file such as:, (*5)

composer require traderinteractive/mongo-queue

Documentation

Found in the source itself, take a look!, (*6)

Contact

Developers may be contacted at:, (*7)

Contributing

If you would like to contribute, please use our build process for any changes and after the build passes, send us a pull request on github!, (*8)

./vendor/bin/phpunit
./vendor/bin/phpcs

There is also a docker-based fig configuration that will execute the build inside a docker container. This is an easy way to build the application:, (*9)

fig run build

The Versions

07/03 2018

dev-master

9999999-dev

Message queue using MongoDB as a backend

  Sources   Download

MIT

The Requires

 

The Development Requires

by Spencer Rinehart
by Jonathan Gaillard

queue mongo message messaging priority

07/03 2018

v3.0.0-alpha1

3.0.0.0-alpha1

Message queue using MongoDB as a backend

  Sources   Download

MIT

The Requires

 

The Development Requires

by Spencer Rinehart
by Jonathan Gaillard

queue mongo message messaging priority

28/02 2018

v2.0.4

2.0.4.0

Message queue using MongoDB as a backend

  Sources   Download

MIT

The Requires

 

The Development Requires

by Spencer Rinehart
by Jonathan Gaillard

queue mongo message messaging priority

11/10 2016

v2.0.3

2.0.3.0

Message queue using MongoDB as a backend

  Sources   Download

MIT

The Requires

 

The Development Requires

by Spencer Rinehart
by Jonathan Gaillard

queue mongo message messaging priority

23/08 2016

v2.0.1

2.0.1.0

Message queue using MongoDB as a backend

  Sources   Download

MIT

The Requires

 

The Development Requires

by Spencer Rinehart
by Jonathan Gaillard

queue mongo message messaging priority

24/09 2015

v1.2.0

1.2.0.0

Message queue using MongoDB as a backend

  Sources   Download

MIT

The Requires

  • php ~5.4
  • ext-mongo ~1.3

 

The Development Requires

by Spencer Rinehart
by Jonathan Gaillard

queue mongo message messaging priority

14/06 2014

v1.1.0

1.1.0.0

Message queue using MongoDB as a backend

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-mongo ~1.3

 

The Development Requires

by Spencer Rinehart
by Jonathan Gaillard

queue mongo message messaging priority

21/06 2013

v1.0.1

1.0.1.0

Message queue using MongoDB as a backend

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-mongo ~1.3

 

The Development Requires

by Spencer Rinehart
by Jonathan Gaillard

queue mongo message messaging priority

21/03 2013

v1.0.0

1.0.0.0

Message queue using MongoDB as a backend

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-mongo >=1.3.4,<2

 

The Development Requires

by Spencer Rinehart
by Jonathan Gaillard

queue mongo message messaging priority