devcookies / signgen
Signature generator for various devcookies software API
Installs: 17 797
Dependents: 2
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 5
Open Issues: 1
Requires
- php: >=5.3.5
This package is not auto-updated.
Last update: 2018-01-07 11:35:08 UTC
README
Signature generator for various devcookies software API
PHP
Supported version: 5.3+
Code example:
<?php
require_once "path/to/php/devcookies/SignatureGenerator.php";
$generator = new devcookies\SignatureGenerator("my_salt_from_manager");
$requestParams = array(
"site_id" => 100239,
"action" => "createorder",
"...",
);
$requestParams["signature"] = $generator->assemble($requestParams);
?>
License
MIT License