julfiker / walmart-signature-php
PHP library for generating auth signatures for Walmart APIs
dev-master
2023-03-02 09:01 UTC
Requires
- php: >=5.3.3
- phpseclib/phpseclib: ^2.0.1
This package is auto-updated.
Last update: 2024-11-30 01:50:41 UTC
README
Generating walmart auth signatue.
Installation
composer require julfiker/walmart-signature-php:dev-master
Just run composer require julfiker/walmart-signature-php:dev-master. This assumes you have composer installed and available in your path as composer.
How to use
<?php require_once __DIR__."/vendor/autoload.php"; use Walmart\Lib\Signature; $privateKey = ""; $consumerId = ""; $timeStamp = ""; $keyVersion = ""; $signature = new Signature($consumerId, $timeStamp, $keyVersion, $privateKey); $result = $signature->generateSignature();