Download the PHP package ion-bazan/aliyun-http-signer without Composer
On this page you can find all versions of the php package ion-bazan/aliyun-http-signer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ion-bazan/aliyun-http-signer
More information about ion-bazan/aliyun-http-signer
Files in ion-bazan/aliyun-http-signer
Package aliyun-http-signer
Short Description PSR-7-compatible Alibaba Cloud API Gateway request signing implementation. Integrates with Guzzle ⛽️ and HttPlug 🐘.
License MIT
Homepage https://github.com/IonBazan/aliyun-http-signer
Informations about the package aliyun-http-signer
Alibaba Cloud API Gateway HTTP Request Signer for PHP
This library implements Alibaba Cloud API Gateway request signature calculation for PSR-7 compatible requests. It integrates with Guzzle and HttPlug but can be used with any PSR-7-compatible client.
Installation
Use Composer to install the package using:
Usage
Symfony integration
The easiest way to integrate the package with Symfony is using GuzzleBundleAliyunSignerPlugin with Guzzle Bundle.
To use it with HttplugBundle or any other Bundle, simply register RequestSigner, Key and RequestSignerPlugin as services and inject the credentials to the Key service.
Sign a PSR-7-compatible API request
Sign an API request using Guzzle middleware
Sign an API request using HttPlug plugin
Bugs & issues
If you found a bug or security vulnerability, please open an issue
Contributing
Please feel free to submit Pull Requests adding new features or fixing bugs.
Please note that code must follow PSR-1, PSR-2, PSR-4 and PSR-7.
All versions of aliyun-http-signer with dependencies
psr/http-message Version ^1.0 || ^2.0
ramsey/uuid Version ^3.0 || ^4.0 || ^5.0
symfony/polyfill-php82 Version ^1.22
