{"repo":"phpclassic/php-shopify","free":true,"listed":false,"github":"https://github.com/phpclassic/php-shopify","clone":"git clone https://github.com/phpclassic/php-shopify.git","description":"PHP SDK for Shopify API","language":"PHP","stars":603,"topics":["shopify-api","shopify","php-shopify","php-sdk","shopify-sdk"],"license":"Apache-2.0","category":"ecommerce","readme_excerpt":"PHP Shopify SDK PHPShopify is a simple SDK implementation of Shopify API. It helps accessing the API in an object oriented way. Installation Install with Composer Requirements PHPShopify uses curl extension for handling http calls. So you need to have the curl extension installed and enabled with PHP. However if you prefer to use any other available package library for handling HTTP calls, you can easily do so by modifying 1 line in each of the get() , post() , put() , delete() methods in PHPShopify\\HttpRequestJson class. You can pass additional curl configuration to ShopifySDK Usage You can use PHPShopify in a pretty simple object oriented way. Configure ShopifySDK If you are using your own private API (except GraphQL), provide the ApiKey and Password. For Third party apps, use the permanent access token. For GraphQL, AccessToken is required. If you are using private API for GraphQL, use your password as AccessToken here. You can use specific Shopify API Version by adding in the config array How to get the permanent access token for a shop? There is a AuthHelper class to help you getting the permanent access token from the shop using oAuth. 1) First, you need to configure the SDK with additional parameter SharedSecret 2) Create the authentication request The redirect url must be white listed from your app admin as one of Application Redirect URLs . If you want the function to return the authentication url instead of auto-redirecting, you can set the argument $return (5th arg","default_branch":null,"files":null,"tree":[],"storefront":"/r/phpclassic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/phpclassic/php-shopify/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}