Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Amazon Sqs Messenger Laravel Package

symfony/amazon-sqs-messenger

Amazon SQS transport for Symfony Messenger, with FIFO and fair-queue support, X-Ray trace stamps, receipt-handle handling, and middleware for automatic FIFO group and deduplication IDs. Includes AmazonSqsFifoStamp, AmazonSqsFairQueueStamp, AmazonSqsXrayTraceHeaderStamp, and AmazonSqsReceivedStamp.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for queue transport: symfony/amazon-sqs-messenger is the maintained, battle-tested SQS transport for Symfony Messenger. If your product roadmap includes SQS-backed async work (order processing, notifications, media pipelines, webhook fan-out), adopting this package eliminates a multi-sprint effort to implement long-polling, batch send/receive, visibility-timeout extension, FIFO group/dedup IDs, and dead-letter queue handling yourself.
  • Worker reliability as a product-quality lever: the v8.1.8 fix (holding signals until the SQS request is actually sent) directly affects graceful shutdown behaviour during deploys and autoscaling. Fewer half-delivered messages and duplicate re-deliveries means fewer user-visible duplicates (double emails, double charges) — a reliability argument, not just an infrastructure nicety.
  • Roadmap input — operational maturity: a steady patch cadence on transport edge cases (signal handling, request lifecycle) indicates the transport is in maintenance-plus mode, not feature-churn. That makes it safe to standardise on for long-lived services.
  • Feature scoping: because the transport handles FIFO, batching, and DLQ semantics, PMs can commit to ordering-sensitive features (e.g. per-customer sequential events) without commissioning bespoke queue infrastructure.
  • Cost/architecture decisions: SQS long-polling and batch consumption are the levers for AWS spend; using the transport's built-in configuration avoids custom tuning code that drifts from best practice.
  • Use cases to evaluate against: Symfony Messenger-based services inside a Laravel estate (mixed Symfony/Laravel organisations), cross-service event consumers, and workloads that must survive worker restarts. Note the boundary: Laravel's native queue abstraction is the default path; this package is the right call where Messenger semantics — middleware, envelopes, retry strategy, transport-level FIFO — are the requirement.

When to Consider This Package

Adopt when:

  • You are running (or plan to run) Symfony Messenger as the message bus, including inside a Laravel application via a custom integration or a hybrid Symfony/Laravel estate.
  • You need SQS specifics the default driver does not surface: FIFO queues with message group IDs, DelaySeconds, per-message visibility extension for long jobs, batch dispatch, or explicit DLQ redrive behaviour.
  • You want middleware-based cross-cutting concerns (retry with backoff, validation, tracing) applied uniformly at the transport layer.
  • Your workers run in containers behind a scheduler and must shut down cleanly on SIGTERM — the v8.1.8 signal-holding fix is precisely the class of behaviour that matters here.

Look elsewhere when:

  • You are a conventional Laravel application with no Messenger dependency — Laravel's native SQS queue driver is simpler, better documented for that stack, and avoids a second messaging abstraction in the codebase.
  • You need vendor-specific features outside the transport's scope (SNS fan-out topologies, EventBridge routing, Step Functions orchestration) — those belong at the infrastructure layer.
  • You require a managed consumer framework with built-in autoscaling and DLQ dashboards (e.g. Laravel Vapor, Laravel Cloud, or a Lambda-based consumer) — the package gives you the transport, not the operational platform.
  • Your team cannot own the Symfony component dependency and its version constraints alongside the Laravel framework — the two upgrade cadences are independent, and that is a real ongoing cost.

How to Pitch It (Stakeholders)

For executives: This is a small, well-maintained library that connects our applications to Amazon SQS — the managed queue service we already pay for. It removes the need to write and maintain custom queue plumbing, and the latest patch tightens shutdown behaviour so in-flight messages are not cut off mid-send during deployments. That reduces duplicate or lost work at exactly the moment — a release or a scale-down — when reliability is most visible to customers. Recommendation: approve as a standard dependency where we already use the Symfony Messenger pattern; no licensing cost, no vendor lock-in beyond SQS itself.

For engineering: v8.1.8 is a single bug fix: signals are now deferred until the SQS request has actually been dispatched, so a SIGTERM during a send no longer interrupts a partially completed request. Patch-level, no API or configuration changes, no migration required — safe to take on the normal upgrade cadence. Treat it as evidence the transport is actively maintained on operational correctness rather than features. Adoption guidance: use it where Messenger semantics are genuinely required; keep the native Laravel queue driver for straightforward jobs to avoid maintaining two messaging abstractions. Pair adoption with explicit decisions on retry/backoff policy, DLQ redrive ownership, and worker shutdown timeout values — those remain our responsibility, not the package's.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel