Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
Tyler King edited this page Aug 9, 2017 · 20 revisions

Here's some helpful tips on using this package's facade.

Accessing the current shop

Using the facade:

// Returns instance of \OhMyBrew\ShopifyApp\Models\Shop
ShopifyApp::shop()

Accessing API for the current shop

// Returns instance of \OhMyBrew\BasicShopifyAPI (ohmybrew/basic-shopify-api)
$shop = ShopifyApp::shop();
$shop->api()->request(...);

Welcome to the wiki!

Please see the homepage for a list of relevant pages.

Clone this wiki locally