PHPackages                             bigcommerce/hawk - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. bigcommerce/hawk

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

bigcommerce/hawk
================

Hawk - maintenance fork from dflydev/hawk

v1.0.4(1y ago)124.5k↓13.2%4MITPHP

Since Sep 24Pushed 1y ago66 watchersCompare

[ Source](https://github.com/bigcommerce/hawk)[ Packagist](https://packagist.org/packages/bigcommerce/hawk)[ Docs](https://github.com/bigcommerce/hawk)[ RSS](/packages/bigcommerce-hawk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

Hawk — A PHP Implementation
===========================

[](#hawk--a-php-implementation)

> Hawk is an HTTP authentication scheme using a message authentication code (MAC) algorithm to provide partial HTTP request cryptographic verification. — [hawk README](https://github.com/hueniverse/hawk)

Installation
------------

[](#installation)

Through [Composer](http://getcomposer.org/) as [dflydev/hawk](http://packagist.org/packages/dflydev/hawk).

Client
------

[](#client)

### Building a Client

[](#building-a-client)

The `Client` has a few required dependencies. It is generally easier to construct a `Client` by using the `ClientBuilder`. A `Client` can be built without setting anything to get sane defaults.

#### Simple ClientBuilder Example

[](#simple-clientbuilder-example)

```
