May 12, 2025 permlink
HTTP Message Signer and Verifier
https://packagist.org/packages/quantificant/http-message-signer
https://github.com/arduent/HTTP-Message-Signer
An HTTP Message Signer and Verifier class in PHP, implementing RFC 9421
This class provides PSR-7 interfaces to Sign and Verify functions, but the implified methods are public if you don't want to use that interface. The signing function does not automatically calculate a digest on the body, but there is a function available to make it easy. The verifier will check the digest if it is present.