Skip to content

Releases: aws/aws-php-sns-message-validator

Version 1.9.0

19 Dec 17:04
de457ea
Compare
Choose a tag to compare
  • Deprecates PHP versions < 7.2.5

Version 1.8.0

22 Aug 19:51
ea20e69
Compare
Choose a tag to compare
  • Adds support for message signature based on SHA256 hashing.

Version 1.7.0

22 Apr 19:29
e494478
Compare
Choose a tag to compare
  • Adds ReturnTypeWillChange attributes to prevent deprecation notices in PHP 8.1+

Version 1.6.0

08 Nov 16:47
ba68108
Compare
Choose a tag to compare
  • Mute warning when file_get_contents() fails
  • Make Message::fromJsonString() public
  • Update README

Version 1.5.0

04 Jul 00:38
84e0f66
Compare
Choose a tag to compare
  • Splits up missing and invalid certificate errors for better granularity.

Version 1.4.0

27 Sep 23:08
Compare
Choose a tag to compare
  • Properly handle truthy value response, -1, from openssl_verify.

Version 1.3.0

29 Aug 17:48
Compare
Choose a tag to compare
  • Correctly handle the creation and validation of Lambda formatted Aws\Sns\Message objects.

Version 1.2.0

12 Jul 21:44
Compare
Choose a tag to compare
  • Adds support for creating an instance of Aws\Sns\Message from a PSR-7 Request or ServerRequest.

Version 1.1.0

03 Sep 21:12
Compare
Choose a tag to compare

This library now allows overriding of the host pattern used to verify that SNS signing certs are hosted on a trusted domain. The default pattern remains /^sns\.[a-zA-Z0-9\-]{3,}\.amazonaws\.com(\.cn)?$/, but it can be set to any pattern for testing.

Version 1.0.0

06 Jul 22:55
Compare
Choose a tag to compare

Amazon SNS Message Validator

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.