You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom SQS queue reader for Laravel projects that supports raw JSON payloads and reads multiple messages.
10
-
Laravel expects SQS messages to be generated in a
9
+
Custom SQS queue reader for Laravel projects that supports raw JSON payloads and reads multiple messages. Laravel expects SQS messages to be generated in a
11
10
specific format that includes job handler class and a serialized job.
12
11
13
12
Note: Implemented to read multiple messages from queue.
14
13
15
-
But in certain cases you may want to parse messages from 3rd party
16
-
applications, custom JSON messages and so on.
14
+
This library is very useful when you want to parse messages from 3rd party
15
+
applications such as stripe webhooks, shopify webhooks, mailgun web hooks, custom JSON messages and so on.
17
16
18
17
## Installation
19
18
@@ -44,7 +43,7 @@ return [
44
43
],
45
44
'mailgun-webhooks' => [
46
45
'class' => App\Jobs\MailgunHandler::class,
47
-
'count' => 100,
46
+
'count' => 10,
48
47
]
49
48
],
50
49
@@ -71,8 +70,8 @@ Add `sqs-json` connection to your config/queue.php, Ex:
@@ -177,8 +175,12 @@ class SqsHandlerJob extends Job
177
175
}
178
176
```
179
177
178
+
For more information about AWS SQS check [offical docs](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-queue-parameters.html).
179
+
180
180
## Testing
181
181
182
+
We already configured the script, just run the command:
0 commit comments