1. Go to this page and download the library: Download sonu179208/shopify-sdk library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sonu179208 / shopify-sdk example snippets
use ShopifySDK\Shopify;
$shopify = new Shopify("yourstore.myshopify.com", "your-access-token");
// Get all products
$response = $shopify->get("products.json");
print_r($response);