2017 © Pedro Peláez
 

library shopify-webhook

image

loicm/shopify-webhook

  • Wednesday, March 1, 2017
  • by loicm
  • Repository
  • 1 Watchers
  • 3 Stars
  • 61 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

Receive a Webhook from Shopify

Shopify has Webhooks features which have to be verified by calculating a digital signature., (*1)

Here is a small class to receive the POST request, verify the signature integrity and getting the data., (*2)

I use this is a tiny project to try phpspec., (*3)

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();
}

The Versions

01/03 2017

dev-master

9999999-dev https://github.com/loicm/shopify-webhook

  Sources   Download

The Requires

 

The Development Requires

api shopify webhook

20/12 2016

2.0.1

2.0.1.0 https://github.com/loicm/shopify-webhook

  Sources   Download

The Requires

 

The Development Requires

api shopify webhook

17/12 2016

2.0.0

2.0.0.0 https://github.com/loicm/shopify-webhook

  Sources   Download

The Requires

 

The Development Requires

api shopify webhook

20/03 2015

1.2.0-alpha

1.2.0.0-alpha https://github.com/loicm/shopify-webhook

  Sources   Download

The Requires

 

The Development Requires

api shopify webhook

20/03 2015

1.1.0-alpha

1.1.0.0-alpha https://github.com/loicm/shopify-webhook

  Sources   Download

The Requires

 

The Development Requires

api shopify webhook

18/03 2015

1.0.0

1.0.0.0 https://github.com/loicm/shopify-webhook

  Sources   Download

The Development Requires

api shopify webhook