PHPackages                             c-squared-solutions-llc/hmac-util - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. c-squared-solutions-llc/hmac-util

ActiveLibrary

c-squared-solutions-llc/hmac-util
=================================

PHP HMAC utility library for signing and verifying signed requests

v1.1.0(5y ago)08MITPHPPHP ^7.2|^8.0

Since Sep 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/C-Squared-Solutions-LLC/hmac-util)[ Packagist](https://packagist.org/packages/c-squared-solutions-llc/hmac-util)[ Docs](https://c2rd.io)[ RSS](/packages/c-squared-solutions-llc-hmac-util/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (5)Used By (0)

hmac-util
=========

[](#hmac-util)

Hmac Util currently supports signing requests with an hmac signature. You will need to provide the following to the library.

1. HMAC Credentials (Username, Secret)
2. HMAC Algorithm you would like to use
3. Request Line (see HTTP REQUEST STANDARDS )
4. Body of the request (if any)
5. Headers you wish to sign with (do not include headers you are sending but do not want as part of signature)

Example of use below
--------------------

[](#example-of-use-below)

```
