Download the PHP package simplon/signr without Composer
On this page you can find all versions of the php package simplon/signr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download simplon/signr
More information about simplon/signr
Files in simplon/signr
Package signr
Short Description Create and validate Signed Requests including data encryption.
License MIT
Homepage https://github.com/fightbulc/simplon_signr
Informations about the package signr
_ _ _ ___(_)_ __ ___ _ __ | | ___ _ __ ___(_) __ _ _ __ _ __ / __| | '_ ` _ \| '_ \| |/ _ \| '_ \ / __| |/ _` | '_ \| '__| \__ \ | | | | | | |_) | | (_) | | | | \__ \ | (_| | | | | | |___/_|_| |_| |_| .__/|_|\___/|_| |_| |___/_|\__, |_| |_|_| |_| |___/
Simplon Signr
Signr creates an signed-request (also known as access token) by a given data array in combination with a secret key which is only known by the transmitter and receiver of the payload. By default the signed-request is secured against fraud through a hash_hmac signature. Additionally, if the data array holds a key named all data within that key will be encrypted. To ensure that the signed-request can be send via URL it will be encoded via base64.
Create a signed request
Generated signed request
Read a signed request
Expire Time
Each signed request holds an issued time stamp which allows to test if a signed-request is expired. By default a signed-request never expires. Following an example how to test against a certain time stamp:
Changelog
0.6.0
- Refactored class pattern (builder pattern)
- Implemented to test against expiration
All versions of signr with dependencies
ext-mcrypt Version *
ext-json Version *