PHPackages                             improck/shopify-sdk-php - 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. improck/shopify-sdk-php

ActiveLibrary

improck/shopify-sdk-php
=======================

A simple API wrapper for Shopify using Guzzle for REST

0.1.24(7y ago)031Apache-2.0PHPPHP ^7.2

Since Feb 11Pushed 7y agoCompare

[ Source](https://github.com/improck/shopify-sdk-php)[ Packagist](https://packagist.org/packages/improck/shopify-sdk-php)[ Docs](https://github.com/improck/shopify-sdk-php)[ RSS](/packages/improck-shopify-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (8)Used By (0)

PHP Shopify SDK
===============

[](#php-shopify-sdk)

PHP Shopify is a simple SDK implementation of Shopify API. It helps accessing the API in an object oriented way.

Installation
------------

[](#installation)

Install with Composer

```
composer require improck/shopify-sdk-php
```

Usage
-----

[](#usage)

You can use PHP Shopify in a pretty simple object oriented way.

##### Generate install url

[](#generate-install-url)

```
\Improck\Shopify\Shopify::generateInstallUrl($myshopifyDomain, $apiKey, $scopes, $redirectUrl)
```

##### Get the Shopify SDK Object

[](#get-the-shopify-sdk-object)

```
$shopify = new \Improck\Shopify\Shopify($myshopifyDomain, $accessToken);
```

##### Get the access token when redirected back to the $redirectUrl after app authorization.

[](#get-the-access-token-when-redirected-back-to-the-redirecturl-after-app-authorization)

```
$shopify = \Improck\Shopify\Shopify::authorize($myshopifyDomain, $code, $apiKey, $secretKey);
```

##### Making API calls

[](#making-api-calls)

```
$products = $shopify->get("products.json");

echo $products->count();

$products->each(function($product) {

    echo $product['title'];

});

$firstProduct = $products->first();

$result = $shopify->post("webhooks.json", ["webhook" => []]);

$result = $shopify->put("webhooks/4759306.json", ["webhook" => []]]);

$deletedStatus = $shopify->delete("products/5616516.json");
```

##### Collect methods

[](#collect-methods)

All methods can be viewed on the library wiki:

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~9 days

Total

7

Last Release

2589d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58ea6aeafc17ed866bb8a74d7b500883e1cb7e4ec5b007d3452d3753313ca68b?d=identicon)[improck](/maintainers/improck)

---

Top Contributors

[![zhanseitaliev](https://avatars.githubusercontent.com/u/36212648?v=4)](https://github.com/zhanseitaliev "zhanseitaliev (18 commits)")

---

Tags

phpsdkshopify

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/improck-shopify-sdk-php/health.svg)

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

###  Alternatives

[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.3M14](/packages/xeroapi-xero-php-oauth2)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[zenditplatform/zendit-php-sdk

PHP client for Zendit API

1204.3k](/packages/zenditplatform-zendit-php-sdk)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

2369.5k3](/packages/kinde-oss-kinde-auth-php)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)

PHPackages © 2026

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