Download the PHP package nickveenhof/http-hmac-php without Composer
On this page you can find all versions of the php package nickveenhof/http-hmac-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nickveenhof/http-hmac-php
More information about nickveenhof/http-hmac-php
Files in nickveenhof/http-hmac-php
Package http-hmac-php
Short Description An implementation of the HTTP HMAC Spec in PHP that integrates with popular libraries such as Symfony and Guzzle. Different namespace to avoid version conflicts with content hub. Temporary!
License MIT
Homepage https://github.com/nickveenhof/http-hmac-php
Informations about the package http-hmac-php
HTTP HMAC Signer for PHP
HMAC Request Signer is a PHP library that implements the version 2.0 of the HTTP HMAC Spec to sign and verify RESTful Web API requests. It integrates with popular libraries such as Symfony and Guzzle and can be used on both the server and client.
Installation
HMAC Request Signer can be installed with Composer by adding it as a dependency to your project's composer.json file.
Please refer to Composer's documentation for more detailed installation and usage instructions.
Usage
Sign an API request sent via Guzzle
Authenticate the request using PSR-7-compatible requests
Authenticate using Silex's SecurityServiceProvider
In order to use the provided Silex security provider, you will need to include the following optional libraries in your project's composer.json
:
Sample implementation:
Authenticate using Symfony's Security component
In order to use the provided Symfony integration, you will need to include the following optional libraries in your project's composer.json
Sammple implementation:
Contributing and Development
Submit changes using GitHub's standard pull request workflow.
All code should adhere to the following standards:
Use PHP_CodeSniffer to validate coding style and automatically fix problems according to the PSR-2 standard:
Refer to PHP Project Starter's documentation for the Apache Ant targets supported by this project.