The Amazon SNS Message Validator for PHP library allows you to validate that incoming HTTP(S) POST messages are valid Amazon SNS notifications. This library is standalone and does not depend on the AWS SDK for PHP or Guzzle; however, it does require PHP 5.4+ and that the OpenSSL PHP extension is installed. Next, you must create an instance of MessageValidator, and then use either the isValid() or validate(), methods to validate the message. The message validator checks the SigningCertURL, SignatureVersion, and Signature to make sure they are valid and consistent with the message data. Amazon Simple Notification Service (Amazon SNS) is a fast, fully-managed, push messaging service. Amazon SNS can deliver messages to email, mobile devices (i.e., SMS; iOS, Android and FireOS push notifications), Amazon SQS queues, and of course HTTP/HTTPS endpoints.

Features

  • Configure Amazon Glacier to notify you when a retrieval job is complete
  • Configure AWS CloudTrail to notify you when a new log file has been written
  • Configure Amazon Elastic Transcoder to notify you when a transcoding job changes status (e.g., from "Progressing" to "Complete")
  • Subscribe an HTTP/HTTPS endpoint to receive the messages
  • Unsubscribing looks the same as subscribing
  • Testing integrations with SNS notifications can be fairly easy using tools like ngrok and PHP's built-in webserver

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Amazon SNS Message Validator for PHP

Amazon SNS Message Validator for PHP Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Amazon SNS Message Validator for PHP!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Communications Software, PHP Security Software

Registered

2022-07-06