PHPackages                             zhandev/shopify-php-api-wrapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. zhandev/shopify-php-api-wrapper

ActiveLibrary[API Development](/categories/api)

zhandev/shopify-php-api-wrapper
===============================

Shopify PHP (Guzzle) API Wrapper

1.1.5(8y ago)07MITPHPPHP &gt;=5.4

Since Jul 15Pushed 8y ago1 watchersCompare

[ Source](https://github.com/zhandev/PHP-Shopify-API-Wrapper)[ Packagist](https://packagist.org/packages/zhandev/shopify-php-api-wrapper)[ Docs](http://www.shopifyextras.com)[ RSS](/packages/zhandev-shopify-php-api-wrapper/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (4)Versions (9)Used By (0)

Shopify API Wrapper
===================

[](#shopify-api-wrapper)

By [Zapiet.com](http://www.zapiet.com) - Zapiet - Creators of the Store Pickup + Delivery app.

### Installing via Composer

[](#installing-via-composer)

The recommended way to install the wrapper is through [Composer](http://getcomposer.org).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of the wrapper:

```
composer require shopifyextras/shopify-php-api-wrapper
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

### Getting Started

[](#getting-started)

First you will need to initialise the client like this:

```
$client = new \Shopify\Client([
   "shopUrl" => $shopUrl,
   "X-Shopify-Access-Token" => $accessToken
]);
```

Then you can begin making requests like shown below. Please note that the list of requests below is not complete. All endpoints are available just take a look in the /src/resources folder for reference.

### Orders

[](#orders)

```
// Get a list of all orders.
$client->getOrders();

// Get a specific order.
$client->getOrder(['id' => $order_id]);

// Get Order ID and Total Price for a specific order.
$client->getOrder(['id' => $order_id,
                   'fields' => 'id,total_price']);
```

### Products

[](#products)

```
// Get a list of all products.
$client->getProducts();

// Get a specific product.
$client->getProduct(["id" => $product_id]);
```

### Product Variants

[](#product-variants)

```
// Get a list of all variants for a specific product.
$client->getProductVariants(["id" => $product_id]);

// Get a specific product variant.
$client->getProductVariant(["id" => $variant_id]);

// Get metafields for a specific variant.
$client->getProductVariantMetafields(["id" => $variant_id]);
```

### Bugs &amp; Issues

[](#bugs--issues)

If you spot any bugs, please report it using the issue tracker. If you would like to contribute to the project please feel free to make your amends and submit a pull request.

### Professional Services

[](#professional-services)

Unfortunately we are unable to provide free technical support for the wrapper. If you require this kind of help then please contact us by emailing .

Test the API at [RapidAPI](https://rapidapi.com/package/Shopify/functions?utm_source=ShopifyGitHub&utm_medium=button).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~176 days

Recently: every ~202 days

Total

6

Last Release

3072d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ea1c44a448f1fcfa2c0c8c3f1a7990456b4eadb26358e7f4849de7c7371b289?d=identicon)[zhandev312](/maintainers/zhandev312)

---

Top Contributors

[![cargix1](https://avatars.githubusercontent.com/u/9730290?v=4)](https://github.com/cargix1 "cargix1 (49 commits)")[![cargi](https://avatars.githubusercontent.com/u/793131?v=4)](https://github.com/cargi "cargi (23 commits)")[![kristofers91](https://avatars.githubusercontent.com/u/1531209?v=4)](https://github.com/kristofers91 "kristofers91 (23 commits)")[![zhandev](https://avatars.githubusercontent.com/u/4652704?v=4)](https://github.com/zhandev "zhandev (11 commits)")[![sebmaynard](https://avatars.githubusercontent.com/u/1586603?v=4)](https://github.com/sebmaynard "sebmaynard (6 commits)")[![michaeljhopkins](https://avatars.githubusercontent.com/u/4623657?v=4)](https://github.com/michaeljhopkins "michaeljhopkins (4 commits)")[![riotCode](https://avatars.githubusercontent.com/u/1652575?v=4)](https://github.com/riotCode "riotCode (1 commits)")[![rjbecker](https://avatars.githubusercontent.com/u/9274638?v=4)](https://github.com/rjbecker "rjbecker (1 commits)")[![nothsa](https://avatars.githubusercontent.com/u/110795?v=4)](https://github.com/nothsa "nothsa (1 commits)")[![SorenA](https://avatars.githubusercontent.com/u/999651?v=4)](https://github.com/SorenA "SorenA (1 commits)")[![tareqtms](https://avatars.githubusercontent.com/u/5279389?v=4)](https://github.com/tareqtms "tareqtms (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zhandev-shopify-php-api-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/zhandev-shopify-php-api-wrapper/health.svg)](https://phpackages.com/packages/zhandev-shopify-php-api-wrapper)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[shopifyextras/shopify-php-api-wrapper

Shopify PHP (Guzzle) API Wrapper

11922.2k](/packages/shopifyextras-shopify-php-api-wrapper)[erlangb/betfair

Betfair API PHP 5.4+ library

471.6k](/packages/erlangb-betfair)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
