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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
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