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
Laravel Aws Sns Listener

Laravel Aws Sns Listener Laravel Package

sinemacula/laravel-aws-sns-listener

A Laravel package for receiving and handling AWS SNS notifications, with support for routing messages to listeners, managing subscriptions, and verifying signatures so you can integrate push notifications and event-driven workflows into your app.

View on GitHub
Deep Wiki
Context7

Laravel AWS SNS Listener provides a simple way to receive and process AWS SNS notifications in Laravel applications. It handles incoming SNS webhook requests, including subscription confirmation, and lets you react to messages through familiar Laravel events and configuration.

  • Handles SNS subscription confirmation automatically
  • Validates incoming SNS message signatures
  • Dispatches Laravel events for received notifications
  • Configurable route, middleware, and topic settings
  • Seamless integration with Laravel’s service container and config
Frequently asked questions about Laravel Aws Sns Listener
How do I install sinemacula/laravel-aws-sns-listener in a Laravel application?
Install it with Composer using composer require sinemacula/laravel-aws-sns-listener, then publish the package configuration if the README instructs you to do so. Configure your SNS topic subscription, expose the notification endpoint, and set up any required route or middleware. Finally, run a queue worker and test notification handling in staging before production.
Which Laravel and PHP versions are supported by this SNS listener package?
The provided release context does not list an explicit Laravel or PHP support matrix, so check the package composer.json and README for the authoritative constraints. The Carbon 3.8.4 dependency suggests a modern PHP baseline, but you should confirm PHP 8.1+ and your target Laravel major version in a staging install. Validate service provider auto-discovery and dependency resolution before rollout.
How do I connect AWS SNS to a Laravel endpoint using this package?
Create an SNS topic and an HTTPS subscription pointing at your Laravel application endpoint, then complete SNS subscription confirmation. Configure IAM permissions so SNS can publish and your application can receive and verify messages, and ensure the webhook route is reachable and exempt from CSRF where appropriate. Use the package configuration and routing conventions rather than building a separate controller from scratch.
Does laravel-aws-sns-listener validate SNS message signatures and subscription confirmations?
The package is intended to handle AWS SNS notifications within Laravel, and production use should include validation of signed SNS messages and correct subscription confirmation handling. The available assessment highlights signature validation failures and confirmation timeouts as operational risks to test. Confirm the exact validation behavior in the package source or README for your version before relying on it.
How does this package integrate with Laravel events, listeners, and queues?
It is designed to fit Laravel event/listener and queue abstractions so received SNS messages can be routed into application handlers. You configure the endpoint and package settings, then process notifications through listeners and queue workers. For higher volume or bursty traffic, use a queue backend such as SQS, Redis, or database queues with appropriately sized workers.
Does the package provide idempotency or deduplication for duplicate SNS deliveries?
The v2.0.1 notes mention internal typed notification guard deduplication, which is not the same as message-level idempotency for SNS at-least-once delivery. The available context does not confirm an application-level deduplication feature, so plan to deduplicate using the SNS message ID or your own idempotency store. Test duplicate delivery behavior in staging and document the handling strategy.
Is v2.0.1 a safe upgrade from v2.0.0?
v2.0.1 is described as a patch release with no announced breaking changes, deprecations, or new features. It includes a typed notification guard refactor and security-related dependency updates, so run your application tests and composer audit after upgrading. If you have custom notification guard extensions, add regression tests because the typed guard deduplication change is internal but behavior-sensitive.
How should I handle retries, dead-letter queues, and monitoring for SNS notifications in Laravel?
Use Laravel queue retry settings, visibility timeouts, and an SQS dead-letter queue where appropriate to contain failed notification jobs. Add logging and alarms around queue backlog, job failures, SNS delivery failures, and endpoint availability. The release context does not announce specific observability hooks, so confirm what the package exposes and rely on Laravel queue events and AWS monitoring for the rest.
What are common production failures with a Laravel AWS SNS listener?
Watch for SNS signature validation failures, subscription confirmation timeouts, duplicate deliveries from SNS at-least-once semantics, and queue backlog. Expired AWS credentials, endpoint downtime causing SNS retries, and unhandled notification types are also common operational risks. Maintain a runbook covering credential rotation, confirmation checks, monitoring alarms, and DLQ replay.
Is sinemacula/laravel-aws-sns-listener actively maintained, and what alternatives exist?
The project shows active maintenance through Dependabot updates, coding-standard centralisation, and security dependency updates, while support appears community and GitHub based. Pin the version, monitor releases, and include it in routine Composer audit and patch cycles. Alternatives include building a custom SNS webhook controller with the AWS SDK or evaluating other Laravel SNS packages against your support matrix, idempotency, and queue requirements.
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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo