loicm/shopify-webhook 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-03-18