loicm/shopify-webhook
最新稳定版本:2.0.1
Composer 安装命令:
composer require loicm/shopify-webhook
包简介
README 文档
README
Shopify has Webhooks features which have to be verified by calculating a digital signature.
Here is a small class to receive the POST request, verify the signature integrity and getting the data.
I use this is a tiny project to try phpspec.
Install
composer require loicm/shopify-webhook
Use
use Loicm\Shopify\WebHook;
$shopify_secret = 'Here is your secret key';
$webhook = new WebHook($shopify_secret);
if ($webhook->verify()) {
// Do your stuff
$data = $webhook->getData();
}
统计信息
- 总下载量: 299
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-03-18