February 9, 2022

Consume generic SQS messages in Laravel

Laravel supports AWS SQS as a queue backend but expects SQS messages to be generated in specific format that includes the specific job handler class and a serialized job. This blog post shows how Laravel's implementation can be extended to consume generic SQS messages that originate outside of Laravel, for instance S3 event notifications when a file has been uploaded to a S3 bucket.