PHPackages                             fivesqrd/ordin - 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. fivesqrd/ordin

ActiveLibrary[Queues &amp; Workers](/categories/queues)

fivesqrd/ordin
==============

Simple Message Queue Client

v0.8.1(6y ago)0150PHP

Since Feb 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/fivesqrd/ordin)[ Packagist](https://packagist.org/packages/fivesqrd/ordin)[ RSS](/packages/fivesqrd-ordin/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (23)Used By (0)

Ordin
=====

[](#ordin)

Ordin is a simple event publish/subscribe queue library for PHP that uses DynamoDB as backend. The queue is implemented to allow multiple observers to receive the same event, but that each observer will receive an event only once.

This is useful in distributed micro service environments, where an event should be seen by all types of micro services, but only by one instance of each micro service type.

Configuration
-------------

[](#configuration)

```
$config = [
    'namespace' => 'My-App'
    'table' => 'My-Table-Name',
    'aws' => [
        'version' => '2012-08-10',
        'region'  => 'eu-west-1',
        'credentials' => [
            'key'    => 'my-key',
            'secret' => 'my-secret',
        ],
    ],
];

```

Preparing a DynamoDb table
--------------------------

[](#preparing-a-dynamodb-table)

Create a local config file say config.php

```
