aws/aws-php-sns-message-validator
Standalone PHP library for validating incoming Amazon SNS HTTP(S) POST notifications. It checks the SigningCertURL, SignatureVersion, and Signature; requires PHP 8.1+ and OpenSSL, with no AWS SDK or Guzzle dependency.
$certClient to fix 8.4 deprecation noticesReturnTypeWillChange attributes to prevent deprecation notices in PHP 8.1+-1, from openssl_verify.Aws\Sns\Message objects.Aws\Sns\Message from a PSR-7 Request or ServerRequest.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.
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.
Initial pre-release of the Amazon SNS Message Validator for PHP.
The code for this package was extracted from Version 2 of the AWS SDK for PHP, and then refactored to remove dependencies on the SDK and Guzzle. This library requires PHP 5.4+ and OpenSSL.
How can I help you explore Laravel packages today?