devcookies/signgen

This package is abandoned and no longer maintained. No replacement package was suggested.

Signature generator for various devcookies software API

1.0.2 2014-06-19 14:07 UTC

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