secomapp/shopify-api

Shopify API resources client in PHP

v2.3.4.6 2022-09-08 07:54 UTC

README

A simple Shopify API client in PHP.

Requirements

  • PHP 5.4 (or higher)
  • ext-curl, ext-json

Installation

Get the library via Composer

composer require secomapp/shopify-api

Usage

First you will need to initialise the client like this:

$client = new \Secomapp\ClientApi($clientSecret, $shopName, $accessToken);

Then you can begin making requests like shown below.

$orderApi = new \Secomapp\Resources\Order($client);
$oders = $orderApi->all();