Skip to content

Releases: joblocal/laravel-sqs-sns-subscription-queue

Minor Bugfix

25 Sep 06:28
90fcb3b
Compare
Choose a tag to compare
Merge pull request #10 from huubvdw/master

Fix PHP 7.2 compatibility

Laravel/Lumen upgrade to 5.6

28 Jun 18:36
e095f90
Compare
Choose a tag to compare

Upgrades dependencies and supports the latest Laravel & Lumen version.

v2.2 Enables routing via TopicArn

24 Jan 21:09
a354082
Compare
Choose a tag to compare

Given a message signature of:

{
  "Type" : "Notification",
  "MessageId" : "63a3f6b6-d533-4a47-aef9-fcf5cf758c76",
  "TopicArn" : "arn:aws:sns:us-west-2:123456789012:MyTopic",
  "Subject" : "Testing publish to subscribed queues",
  "Message" : "Hello world!",
  "Timestamp" : "2017-03-29T05:12:16.901Z",
  "SignatureVersion" : "1",
  "Signature" : "...",
  "SigningCertURL" : "...",
  "UnsubscribeURL" : "..."
} 

You can now configure your routes using Subject or TopicArn:

'connections' => [
  'sqs-sns' => [
    'driver' => 'sqs-sns',
    'key'    => env('AWS_ACCESS_KEY', 'your-public-key'),
    'secret' => env('AWS_SECRET_ACCESS_KEY', 'your-secret-key'),
    'queue'  => env('QUEUE_URL', 'your-queue-url'),
    'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
    'routes' => [
        // you can use the "Subject" field
        'Subject' => 'App\\Jobs\\YourJob',
        // or the "TopicArn" of your SQS message
        'TopicArn:123' => 'App\\Jobs\\YourJob',
        // to specify which job class should handle the job
    ],
  ],
],

v2.1 Stable Release

11 Oct 13:45
Compare
Choose a tag to compare

Releases with stable stability and updated composer packages, ready to handle lumen and laravel 5.5!

v2.0

20 Jun 18:03
Compare
Choose a tag to compare

Bumps dependency versions